summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-04-23 21:16:34 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:42 +0200
commit69a9120477185ee14429684724d665f69798b7d9 (patch)
treece74ec57028f2a63af611d694fc42c04c6feb2b4 /libc
parent425803868468b8ca52c7aa7fb8fb8b81d866dc7f (diff)
xstatconv: cleanup includes
xstatconv.h needs features.h to really "see" config options xstatconv.c does not need sys/syscall.h Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/common/xstatconv.c1
-rw-r--r--libc/sysdeps/linux/common/xstatconv.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/xstatconv.c b/libc/sysdeps/linux/common/xstatconv.c
index deef3929e..bb4a61bd1 100644
--- a/libc/sysdeps/linux/common/xstatconv.c
+++ b/libc/sysdeps/linux/common/xstatconv.c
@@ -20,7 +20,6 @@
Modified for uClibc by Erik Andersen <andersen@codepoet.org>
*/
-#include <sys/syscall.h>
#include <sys/stat.h>
#include <string.h>
#include "xstatconv.h"
diff --git a/libc/sysdeps/linux/common/xstatconv.h b/libc/sysdeps/linux/common/xstatconv.h
index 7568da850..1522e716f 100644
--- a/libc/sysdeps/linux/common/xstatconv.h
+++ b/libc/sysdeps/linux/common/xstatconv.h
@@ -23,6 +23,7 @@
/* Pull in whatever this particular arch's kernel thinks the kernel version of
* struct stat should look like. It turns out that each arch has a different
* opinion on the subject, and different kernel revs use different names... */
+#include <features.h>
#include <bits/kernel_stat.h>
extern void __xstat_conv(struct kernel_stat *kbuf, struct stat *buf) attribute_hidden;