summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
-rw-r--r--dir.c12
1 files changed, 6 insertions, 6 deletions
@@ -22,10 +22,6 @@
#include <unistd.h>
#endif
-#ifndef O_CLOEXEC
-# define O_CLOEXEC 0
-#endif
-
#ifndef USE_OPENDIR_AT
# if defined(HAVE_FDOPENDIR) && defined(HAVE_DIRFD) && \
defined(HAVE_OPENAT) && defined(HAVE_FSTATAT)
@@ -35,8 +31,12 @@
# endif
#endif
-#if USE_OPENDIR_AT
-# include <fcntl.h>
#endif
#undef HAVE_DIRENT_NAMLEN