Fix -Wundef warning for HAVE_SYS_PARAM_H
Commit Message
* io/ftw.c: Include sys/param.h unconditionally.
commit 3c9004534bf705fee3d57e69b5c4bb45f920ccb3
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date: Wed Jul 9 14:21:48 2014 +0530
Fix -Wundef warning for HAVE_SYS_PARAM_H
Include sys/param.h unconditionally
Comments
On Wed, Jul 09, 2014 at 04:09:01PM +0530, Siddhesh Poyarekar wrote:
>
> * io/ftw.c: Include sys/param.h unconditionally.
>
looks ok.
@@ -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