Avoid gcc warnings because of #pragma GCC system_header on older gcc.
[gnulib.git] / lib / netdb.in.h
index 9a637f2..f4c2551 100644 (file)
@@ -24,7 +24,9 @@
 
 #if @HAVE_NETDB_H@
 
+# if __GNUC__ >= 3
 @PRAGMA_SYSTEM_HEADER@
+# endif
 
 /* The include_next requires a split double-inclusion guard.  */
 # @INCLUDE_NEXT@ @NEXT_NETDB_H@