Browse Source

Correct included header for ustat.

Manuel Novoa III 22 years ago
parent
commit
aaae06c5f4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libc/sysdeps/linux/common/syscalls.c

+ 1 - 1
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)