Avoid gcc warnings because of #pragma GCC system_header on older gcc.
[gnulib.git] / lib / sys_file.in.h
index c1d2315..a16eea0 100644 (file)
@@ -19,7 +19,9 @@
 /* Written by Richard W.M. Jones.  */
 #ifndef _GL_SYS_FILE_H
 
+# if __GNUC__ >= 3
 @PRAGMA_SYSTEM_HEADER@
+# endif
 
 /* The include_next requires a split double-inclusion guard.  */
 # if @HAVE_SYS_FILE_H@