summaryrefslogtreecommitdiff
path: root/lib/fsusage.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/fsusage.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/fsusage.c')
-rw-r--r--lib/fsusage.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/fsusage.c b/lib/fsusage.c
index 972d88f12..83d26af88 100644
--- a/lib/fsusage.c
+++ b/lib/fsusage.c
@@ -60,9 +60,7 @@
# include <sys/filsys.h> /* SVR2 */
#endif
-#if HAVE_FCNTL_H
-# include <fcntl.h>
-#endif
+#include <fcntl.h>
#if HAVE_SYS_STATFS_H
# include <sys/statfs.h>