summaryrefslogtreecommitdiff
path: root/lib/fopen-safer.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-07-02 08:41:46 +0000
committerJim Meyering <jim@meyering.net>2005-07-02 08:41:46 +0000
commit410f98fc2b9bd775f809818590959272c04e6c9c (patch)
treefeb6e26fa2cd60d76f8bcab1483f27bc792f2c29 /lib/fopen-safer.c
parentb5dabfee20afd9a18d32c569b69ce9024e0a6268 (diff)
downloadcoreutils-410f98fc2b9bd775f809818590959272c04e6c9c.tar.xz
Assume HAVE_UNISTD_H, i.e., include <unistd.h> unconditionally.
Diffstat (limited to 'lib/fopen-safer.c')
-rw-r--r--lib/fopen-safer.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/fopen-safer.c b/lib/fopen-safer.c
index 1eb594b32..4b74b8f3b 100644
--- a/lib/fopen-safer.c
+++ b/lib/fopen-safer.c
@@ -21,9 +21,7 @@
# include <config.h>
#endif
-#if HAVE_UNISTD_H
-# include <unistd.h>
-#endif
+#include <unistd.h>
#include <unistd-safer.h>
#ifndef STDERR_FILENO