This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix -Wundef warning for HAVE_SYS_PARAM_H


	* 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

Attachment: pgpiJVEmWvhth.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]