summaryrefslogtreecommitdiff
path: root/lib/openat.h
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/openat.h
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/openat.h')
-rw-r--r--lib/openat.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/openat.h b/lib/openat.h
index 39b9bb919..d7e4efc53 100644
--- a/lib/openat.h
+++ b/lib/openat.h
@@ -17,9 +17,7 @@
/* written by Jim Meyering */
-#if HAVE_FCNTL_H
-# include <fcntl.h>
-#endif
+#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>