diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-07-10 14:19:21 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-07-10 14:19:21 +0530 |
commit | 12f2254b815056bb897a25a0c6dee0122aef52ac (patch) | |
tree | 8a5b61b17942a6e5d39d09ec31f9fee4e062081d | |
parent | c3c7c3604fdf934d7a8ec70d79915cd8c8984ad1 (diff) | |
download | glibc-12f2254b815056bb897a25a0c6dee0122aef52ac.tar.gz glibc-12f2254b815056bb897a25a0c6dee0122aef52ac.tar.xz glibc-12f2254b815056bb897a25a0c6dee0122aef52ac.zip |
Fix -Wundef warning for HAVE_SYS_PARAM_H
Include sys/param.h unconditionally
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | io/ftw.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog index dc0b76c236..673f0af1a8 100644 --- 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] diff --git a/io/ftw.c b/io/ftw.c index b058b7465a..bf749b1e79 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 |