summaryrefslogtreecommitdiff
path: root/lib/dup-safer.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-07-02 09:45:07 +0000
committerJim Meyering <jim@meyering.net>2005-07-02 09:45:07 +0000
commitd1eb42bdbbaf00d38b2a479e9aa40207b79bd090 (patch)
treed8c688ded0e66e4b7fa295fed9d55f15448bcccd /lib/dup-safer.c
parent474c0e8774cc27ae07ffc9782041e1262f06f4c4 (diff)
downloadgnulib-d1eb42bdbbaf00d38b2a479e9aa40207b79bd090.tar.gz
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 e51a8d5f57..034297aa1e 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>