summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2006-12-06 20:46:21 +0000
committerEric Andersen <andersen@codepoet.org>2006-12-06 20:46:21 +0000
commitdb411e0e20ef64f751432d0dea52b6ed16838d4f (patch)
tree7ee13ad7cced5100ecd90850e37d34661767a33d /libc/sysdeps/linux
parenteb813ecafa2405e01e33da29d620e5c10ec63d2c (diff)
prepare to later remove bits/kernel_types.h from bits/types.h
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/common/getdents.c1
-rw-r--r--libc/sysdeps/linux/common/getdents64.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/getdents.c b/libc/sysdeps/linux/common/getdents.c
index 11c2570c4..226971298 100644
--- a/libc/sysdeps/linux/common/getdents.c
+++ b/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
diff --git a/libc/sysdeps/linux/common/getdents64.c b/libc/sysdeps/linux/common/getdents64.c
index 57936d348..a344240bb 100644
--- a/libc/sysdeps/linux/common/getdents64.c
+++ b/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