summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/getdents.c
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2008-12-11 14:45:14 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2008-12-11 14:45:14 +0000
commit0f0f20abd295592740a1e764abb976e0db337d86 (patch)
tree26dc4dfffb4867f2453b1dd3837e171dd0b9f62d /libc/sysdeps/linux/common/getdents.c
parent6ff6eb1350c00bde1e64eeabd676e477402d5b9c (diff)
Move kernel-features.h header from the linuxthread directory
to a common one (libc/sysdeps/linux/common/bits) so that any function can access to supported kernel feature (i.e. getdents). Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'libc/sysdeps/linux/common/getdents.c')
-rw-r--r--libc/sysdeps/linux/common/getdents.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/getdents.c b/libc/sysdeps/linux/common/getdents.c
index 0baf47eb4..e1aa2a51f 100644
--- a/libc/sysdeps/linux/common/getdents.c
+++ b/libc/sysdeps/linux/common/getdents.c
@@ -16,6 +16,7 @@
#include <sys/types.h>
#include <sys/syscall.h>
#include <bits/kernel_types.h>
+#include <bits/kernel-features.h>
/* With newer versions of linux, the getdents syscall returns d_type
* information after the name field.