summaryrefslogtreecommitdiff
path: root/lib/dup-safer.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-07-01 20:55:29 +0000
committerJim Meyering <jim@meyering.net>2005-07-01 20:55:29 +0000
commit58076430c3324600ef5dba5505fbb2e1c5e02e03 (patch)
tree6d6484331407705aea0a84fc1826d1fb9f44a8b9 /lib/dup-safer.c
parentceaa11b643fc2bfed8a57b3e1bc3f75a1ad3c7cd (diff)
downloadcoreutils-58076430c3324600ef5dba5505fbb2e1c5e02e03.tar.xz
Assume HAVE_FCNTL_H (i.e., include <fcntl.h> unconditionally,
and don't include <sys/file.h>).
Diffstat (limited to 'lib/dup-safer.c')
-rw-r--r--lib/dup-safer.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/dup-safer.c b/lib/dup-safer.c
index e51a8d5f5..034297aa1 100644
--- a/lib/dup-safer.c
+++ b/lib/dup-safer.c
@@ -23,9 +23,7 @@
#include "unistd-safer.h"
-#if HAVE_FCNTL_H
-# include <fcntl.h>
-#endif
+#include <fcntl.h>
#if HAVE_UNISTD_H
# include <unistd.h>