浏览代码

Correct included header for ustat.

Manuel Novoa III 22 年之前
父节点
当前提交
aaae06c5f4
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)