projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pathmax: PATH_MAX: use pathconf only when available
[gnulib.git]
/
lib
/
fchdir.c
diff --git
a/lib/fchdir.c
b/lib/fchdir.c
index
84d6546
..
969e984
100644
(file)
--- a/
lib/fchdir.c
+++ b/
lib/fchdir.c
@@
-19,6
+19,7
@@
/* Specification. */
#include <unistd.h>
/* Specification. */
#include <unistd.h>
+#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
#include <stdarg.h>
#include <errno.h>
#include <fcntl.h>
#include <stdarg.h>
@@
-26,10
+27,8
@@
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <dirent.h>
#include "canonicalize.h"
#include "canonicalize.h"
-#include "dirfd.h"
/* This replacement assumes that a directory is not renamed while opened
through a file descriptor. */
/* This replacement assumes that a directory is not renamed while opened
through a file descriptor. */