From 0f0f20abd295592740a1e764abb976e0db337d86 Mon Sep 17 00:00:00 2001 From: Carmelo Amoroso Date: Thu, 11 Dec 2008 14:45:14 +0000 Subject: 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 --- libc/sysdeps/linux/common/getdents.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libc/sysdeps/linux/common/getdents.c') 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 #include #include +#include /* With newer versions of linux, the getdents syscall returns d_type * information after the name field. -- cgit v1.2.3