From 12f2254b815056bb897a25a0c6dee0122aef52ac Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Thu, 10 Jul 2014 14:19:21 +0530 Subject: [PATCH] Fix -Wundef warning for HAVE_SYS_PARAM_H Include sys/param.h unconditionally --- ChangeLog | 2 ++ io/ftw.c | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index dc0b76c..673f0af 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2014-07-10 Siddhesh Poyarekar + * 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 b058b74..bf749b1 100644 --- a/io/ftw.c +++ b/io/ftw.c @@ -66,9 +66,7 @@ char *alloca (); #include #include #include -#if HAVE_SYS_PARAM_H || defined _LIBC -# include -#endif +#include #ifdef _LIBC # include #else -- 2.7.4