Avoid gcc warnings because of #pragma GCC system_header on older gcc.
[gnulib.git] / lib / search.in.h
index 0114b46..62937c7 100644 (file)
@@ -19,7 +19,9 @@
 
 /* The include_next requires a split double-inclusion guard.  */
 #if @HAVE_SEARCH_H@
+# if __GNUC__ >= 3
 @PRAGMA_SYSTEM_HEADER@
+# endif
 # @INCLUDE_NEXT@ @NEXT_SEARCH_H@
 #endif