summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2003-08-20 04:26:41 +0000
committerManuel Novoa III <mjn3@codepoet.org>2003-08-20 04:26:41 +0000
commitaaae06c5f4943a853f7b05da00e8eded6d3c9d86 (patch)
treefe4f0a073e2afde121c66eeb63c9e91ad54cf826
parent66838e430a04dcbb08dd703271c07d1e48416498 (diff)
Correct included header for ustat.
-rw-r--r--libc/sysdeps/linux/common/syscalls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/syscalls.c b/libc/sysdeps/linux/common/syscalls.c
index c37099dd5..6fa2c9a65 100644
--- a/libc/sysdeps/linux/common/syscalls.c
+++ b/libc/sysdeps/linux/common/syscalls.c
@@ -654,7 +654,7 @@ _syscall1(int, chroot, const char *, path);
//#define __NR_ustat 62
#ifdef L___syscall_ustat
#define __NR___syscall_ustat __NR_ustat
-#include <sys/stat.h>
+#include <sys/ustat.h>
static inline
_syscall2(int, __syscall_ustat, unsigned short int, kdev_t, struct ustat *, ubuf);
int ustat(dev_t dev, struct ustat *ubuf)