Avoid gcc warnings because of #pragma GCC system_header on older gcc.
[gnulib.git] / lib / sys_select.in.h
index b9d08b5..2d20427 100644 (file)
@@ -19,7 +19,9 @@
 
 #if @HAVE_SYS_SELECT_H@
 
+# if __GNUC__ >= 3
 @PRAGMA_SYSTEM_HEADER@
+# endif
 
 /* On many platforms, <sys/select.h> assumes prior inclusion of
    <sys/types.h>.  */