diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-07-27 23:14:44 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-07-27 23:14:44 +0000 |
commit | 6a108999f81ae9baf8b39b8acc47b7b4c6c048a0 (patch) | |
tree | 9a544c618e87d64a6e35d8cea48ef51c8c09400d | |
parent | 4b27b8d0bef7adcbfa993ff8b985a91d423f78c4 (diff) |
Be certain to include sys/sysmacros.h when major() and minor()
are being used
-rw-r--r-- | libc/sysdeps/linux/common/mknod.c | 1 | ||||
-rw-r--r-- | libc/sysdeps/linux/common/ustat.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/mknod.c b/libc/sysdeps/linux/common/mknod.c index 58cce2047..204a43475 100644 --- a/libc/sysdeps/linux/common/mknod.c +++ b/libc/sysdeps/linux/common/mknod.c @@ -9,6 +9,7 @@ #include "syscalls.h" #include <sys/stat.h> +#include <sys/sysmacros.h> #define __NR___syscall_mknod __NR_mknod static inline _syscall3(int, __syscall_mknod, const char *, path, 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, |