summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/ustat.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-07-27 23:14:44 +0000
committerEric Andersen <andersen@codepoet.org>2004-07-27 23:14:44 +0000
commit6a108999f81ae9baf8b39b8acc47b7b4c6c048a0 (patch)
tree9a544c618e87d64a6e35d8cea48ef51c8c09400d /libc/sysdeps/linux/common/ustat.c
parent4b27b8d0bef7adcbfa993ff8b985a91d423f78c4 (diff)
Be certain to include sys/sysmacros.h when major() and minor()
are being used
Diffstat (limited to 'libc/sysdeps/linux/common/ustat.c')
-rw-r--r--libc/sysdeps/linux/common/ustat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/ustat.c b/libc/sysdeps/linux/common/ustat.c
index 013104d5e..e8322add2 100644
--- a/libc/sysdeps/linux/common/ustat.c
+++ b/libc/sysdeps/linux/common/ustat.c
@@ -9,6 +9,7 @@
#include "syscalls.h"
#include <sys/ustat.h>
+#include <sys/sysmacros.h>
#define __NR___syscall_ustat __NR_ustat
static inline _syscall2(int, __syscall_ustat,