[PATCH] Fix -Wundef warning for HAVE_SYS_PARAM_H

Siddhesh Poyarekar siddhesh@redhat.com
Wed Jul 9 10:39:00 GMT 2014


	* 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

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 <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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20140709/6eec434b/attachment.sig>


More information about the Libc-alpha mailing list