summaryrefslogtreecommitdiff
path: root/lib/dup2.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dup2.c')
-rw-r--r--lib/dup2.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/dup2.c b/lib/dup2.c
index c5d418f02..77deaf62d 100644
--- a/lib/dup2.c
+++ b/lib/dup2.c
@@ -23,9 +23,7 @@
#include <errno.h>
-#if HAVE_FCNTL_H
-# include <fcntl.h>
-#endif
+#include <fcntl.h>
#if HAVE_UNISTD_H
# include <unistd.h>