* lib/closedir.c: Include <unistd.h>.
2011-11-04 Bruno Haible <bruno@clisp.org>
+ closedir: Avoid warning on mingw.
+ * lib/closedir.c: Include <unistd.h>.
+
+2011-11-04 Bruno Haible <bruno@clisp.org>
+
New module 'fstatat', split off from module 'openat'.
* lib/openat.h (statat, lstatat): Enable only if GNULIB_FSTATAT is
defined.
/* Specification. */
#include <dirent.h>
+#if REPLACE_FCHDIR
+# include <unistd.h>
+#endif
+
#if HAVE_CLOSEDIR
/* Override closedir(), to keep track of the open file descriptors.