Avoid some "gcc -pedantic" warnings.
[gnulib.git] / modules / fchdir
index 5bfaacf..3668314 100644 (file)
@@ -7,13 +7,14 @@ lib/dirent.in.h
 m4/fchdir.m4
 
 Depends-on:
-include_next
-dup2
-fcntl
-unistd
 canonicalize-lgpl
 dirfd
+dup2
+fcntl
+include_next
+open
 strdup
+unistd
 
 configure.ac:
 gl_FUNC_FCHDIR
@@ -28,6 +29,7 @@ dirent.h: dirent.in.h
        rm -f $@-t $@
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
+             -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
              -e 's|@''NEXT_DIRENT_H''@|$(NEXT_DIRENT_H)|g' \
              -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
              < $(srcdir)/dirent.in.h; \