|
@@ -10,10 +10,18 @@
|
|
#include <bits/wordsize.h>
|
|
#include <bits/wordsize.h>
|
|
#include <sys/syscall.h>
|
|
#include <sys/syscall.h>
|
|
|
|
|
|
|
|
+#if defined __mips__
|
|
|
|
+# include <sgidefs.h>
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
|
|
#if __WORDSIZE == 64 && defined __NR_newfstatat
|
|
#if __WORDSIZE == 64 && defined __NR_newfstatat
|
|
# define __NR_fstatat64 __NR_newfstatat
|
|
# define __NR_fstatat64 __NR_newfstatat
|
|
#endif
|
|
#endif
|
|
|
|
+
|
|
|
|
+#if defined __mips__ && _MIPS_SIM == _ABIN32
|
|
|
|
+# define __NR_fstatat64 __NR_newfstatat
|
|
|
|
+#endif
|
|
|
|
|
|
#ifdef __NR_fstatat64
|
|
#ifdef __NR_fstatat64
|
|
# include <sys/stat.h>
|
|
# include <sys/stat.h>
|