mirror of git://sourceware.org/git/glibc.git
Fix -Wundef warning for HAVE_SYS_PARAM_H
Include sys/param.h unconditionally
This commit is contained in:
parent
c3c7c3604f
commit
12f2254b81
|
@ -1,5 +1,7 @@
|
||||||
2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
|
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.
|
* locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
|
||||||
|
|
||||||
[BZ #17125]
|
[BZ #17125]
|
||||||
|
|
4
io/ftw.c
4
io/ftw.c
|
@ -66,9 +66,7 @@ char *alloca ();
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <not-cancel.h>
|
#include <not-cancel.h>
|
||||||
#if HAVE_SYS_PARAM_H || defined _LIBC
|
#include <sys/param.h>
|
||||||
# include <sys/param.h>
|
|
||||||
#endif
|
|
||||||
#ifdef _LIBC
|
#ifdef _LIBC
|
||||||
# include <include/sys/stat.h>
|
# include <include/sys/stat.h>
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue