summaryrefslogtreecommitdiff
path: root/lib/chdir-safer.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-12-25 21:38:43 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-12-25 21:38:43 +0000
commitf7a0d076236e87ff0fed2c07d992f7da19c76c03 (patch)
tree3b6afe29062ab0a962dc111b9982398f27351aae /lib/chdir-safer.c
parent11eedd84d32ac1173b8ea68795a4f8cc73a3c114 (diff)
downloadcoreutils-f7a0d076236e87ff0fed2c07d992f7da19c76c03.tar.xz
Whoops; don't remove the include for unistd.h, since it defines fchdir.
Diffstat (limited to 'lib/chdir-safer.c')
-rw-r--r--lib/chdir-safer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chdir-safer.c b/lib/chdir-safer.c
index 259a89a78..539eb2d68 100644
--- a/lib/chdir-safer.c
+++ b/lib/chdir-safer.c
@@ -27,6 +27,7 @@
#include <stdbool.h>
#include <fcntl.h>
#include <errno.h>
+#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>