olga / rpms / glibc

Forked from rpms/glibc 5 years ago
Clone

Blame SOURCES/glibc-rh1505492-undef-40.patch

00db10
commit 12f2254b815056bb897a25a0c6dee0122aef52ac
00db10
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
00db10
Date:   Thu Jul 10 14:19:21 2014 +0530
00db10
00db10
    Fix -Wundef warning for HAVE_SYS_PARAM_H
00db10
    
00db10
    Include sys/param.h unconditionally
00db10
00db10
diff --git a/io/ftw.c b/io/ftw.c
00db10
index 7aff7d04c9ed1e95..ffdb4b02dc7ca4d5 100644
00db10
--- a/io/ftw.c
00db10
+++ b/io/ftw.c
00db10
@@ -66,9 +66,7 @@ char *alloca ();
00db10
 #include <string.h>
00db10
 #include <unistd.h>
00db10
 #include <not-cancel.h>
00db10
-#if HAVE_SYS_PARAM_H || defined _LIBC
00db10
-# include <sys/param.h>
00db10
-#endif
00db10
+#include <sys/param.h>
00db10
 #ifdef _LIBC
00db10
 # include <include/sys/stat.h>
00db10
 #else