summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/mips
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-02-20 22:51:25 +0000
committerEric Andersen <andersen@codepoet.org>2002-02-20 22:51:25 +0000
commitb407708461d853ea8043b9b73b3a28f9ca5efc3f (patch)
treedeb48c8a68db9a48cc401fb52d5bda45096a50fa /libc/sysdeps/linux/mips
parent30210c9404378e1d1c5839c583f523b030b81ea1 (diff)
Fix from John Rigby to fix stat() so it actually works.
Diffstat (limited to 'libc/sysdeps/linux/mips')
-rw-r--r--libc/sysdeps/linux/mips/bits/types.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/mips/bits/types.h b/libc/sysdeps/linux/mips/bits/types.h
index 141f0b29e..5ace8a8a7 100644
--- a/libc/sysdeps/linux/mips/bits/types.h
+++ b/libc/sysdeps/linux/mips/bits/types.h
@@ -58,7 +58,10 @@ __extension__ typedef unsigned long long int __uint64_t;
#endif
typedef __quad_t *__qaddr_t;
-typedef __u_quad_t __dev_t; /* Type of device numbers. */
+/* changed to be more compatible with kernel */
+/*typedef __u_quad_t __dev_t;*/ /* Type of device numbers. */
+typedef __u_int __dev_t; /* Type of device numbers. */
+
typedef __u_int __uid_t; /* Type of user identifications. */
typedef __u_int __gid_t; /* Type of group identifications. */
typedef __u_long __ino_t; /* Type of file serial numbers. */