Avoid gcc warnings because of #pragma GCC system_header on older gcc.
[gnulib.git] / lib / sys_ioctl.in.h
index 221177a..44b0f85 100644 (file)
@@ -17,7 +17,9 @@
 
 #ifndef _GL_SYS_IOCTL_H
 
+#if __GNUC__ >= 3
 @PRAGMA_SYSTEM_HEADER@
+#endif
 
 /* The include_next requires a split double-inclusion guard.  */
 #if @HAVE_SYS_IOCTL_H@