autoupdate
[gnulib.git] / lib / sys_file.in.h
index c1d2315..a8f81fe 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@
@@ -47,7 +49,7 @@ extern int flock (int fd, int operation);
 # endif
 #elif defined GNULIB_POSIXCHECK
 # undef flock
-# define flock(fd,op)                         \
+# define flock(fd,op)                          \
     (GL_LINK_WARNING ("flock is unportable - " \
                       "use gnulib module flock for portability"), \
      flock ((fd), (op)))