aboutsummaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2014-07-10 14:19:21 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2014-07-10 14:19:21 +0530
commit12f2254b815056bb897a25a0c6dee0122aef52ac (patch)
tree8a5b61b17942a6e5d39d09ec31f9fee4e062081d /io
parentc3c7c3604fdf934d7a8ec70d79915cd8c8984ad1 (diff)
downloadglibc-12f2254b815056bb897a25a0c6dee0122aef52ac.zip
glibc-12f2254b815056bb897a25a0c6dee0122aef52ac.tar.gz
glibc-12f2254b815056bb897a25a0c6dee0122aef52ac.tar.bz2
Fix -Wundef warning for HAVE_SYS_PARAM_H
Include sys/param.h unconditionally
Diffstat (limited to 'io')
-rw-r--r--io/ftw.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/io/ftw.c b/io/ftw.c
index b058b74..bf749b1 100644
--- a/io/ftw.c
+++ b/io/ftw.c
@@ -66,9 +66,7 @@ char *alloca ();
#include <string.h>
#include <unistd.h>
#include <not-cancel.h>
-#if HAVE_SYS_PARAM_H || defined _LIBC
-# include <sys/param.h>
-#endif
+#include <sys/param.h>
#ifdef _LIBC
# include <include/sys/stat.h>
#else