浏览代码

prepare to later remove bits/kernel_types.h from bits/types.h

Eric Andersen 18 年之前
父节点
当前提交
db411e0e20
共有 2 个文件被更改,包括 2 次插入0 次删除
  1. 1 0
      libc/sysdeps/linux/common/getdents.c
  2. 1 0
      libc/sysdeps/linux/common/getdents64.c

+ 1 - 0
libc/sysdeps/linux/common/getdents.c

@@ -15,6 +15,7 @@
 #include <sys/param.h>
 #include <sys/types.h>
 #include <sys/syscall.h>
+#include <bits/kernel_types.h>
 
 /* With newer versions of linux, the getdents syscall returns d_type
  * information after the name field.  Someday, we should add support for

+ 1 - 0
libc/sysdeps/linux/common/getdents64.c

@@ -16,6 +16,7 @@
 #include <sys/param.h>
 #include <sys/types.h>
 #include <sys/syscall.h>
+#include <bits/kernel_types.h>
 
 #if defined __UCLIBC_HAS_LFS__ && defined __NR_getdents64