Fix -Wundef warning for HAVE_SYS_PARAM_H
authorSiddhesh Poyarekar <siddhesh@redhat.com>
Thu, 10 Jul 2014 08:49:21 +0000 (14:19 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Thu, 10 Jul 2014 08:49:21 +0000 (14:19 +0530)
Include sys/param.h unconditionally

ChangeLog
io/ftw.c

index dc0b76c..673f0af 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
 
+       * io/ftw.c: Include sys/param.h unconditionally.
+
        * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
 
        [BZ #17125]
index b058b74..bf749b1 100644 (file)
--- 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