OSDN Git Service

prepare to later remove bits/kernel_types.h from bits/types.h
authorEric Andersen <andersen@codepoet.org>
Wed, 6 Dec 2006 20:46:21 +0000 (20:46 -0000)
committerEric Andersen <andersen@codepoet.org>
Wed, 6 Dec 2006 20:46:21 +0000 (20:46 -0000)
libc/sysdeps/linux/common/getdents.c
libc/sysdeps/linux/common/getdents64.c

index 11c2570..2269712 100644 (file)
@@ -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
index 57936d3..a344240 100644 (file)
@@ -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