Fix -Wundef warning for HAVE_SYS_PARAM_H

Include sys/param.h unconditionally
This commit is contained in:
Siddhesh Poyarekar 2014-07-10 14:19:21 +05:30
parent c3c7c3604f
commit 12f2254b81
2 changed files with 3 additions and 3 deletions

View File

@ -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]

View File

@ -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