Browse Source

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

Eric Andersen 18 years ago
parent
commit
db411e0e20
2 changed files with 2 additions and 0 deletions
  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/param.h>
 #include <sys/types.h>
 #include <sys/types.h>
 #include <sys/syscall.h>
 #include <sys/syscall.h>
+#include <bits/kernel_types.h>
 
 
 /* With newer versions of linux, the getdents syscall returns d_type
 /* With newer versions of linux, the getdents syscall returns d_type
  * information after the name field.  Someday, we should add support for
  * 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/param.h>
 #include <sys/types.h>
 #include <sys/types.h>
 #include <sys/syscall.h>
 #include <sys/syscall.h>
+#include <bits/kernel_types.h>
 
 
 #if defined __UCLIBC_HAS_LFS__ && defined __NR_getdents64
 #if defined __UCLIBC_HAS_LFS__ && defined __NR_getdents64