summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2023-03-02 13:48:21 +0100
committerKarel Zak <kzak@redhat.com>2023-03-02 13:48:21 +0100
commite288dbac4f69a98fa5b0f8c8285b6578ea676ae4 (patch)
tree55ec332f3bca7395dd5250c0761d27a01bb23716 /include
parent8ae8b20134c8224b74741c50702e0bd004c94e39 (diff)
downloadutil-linux-e288dbac4f69a98fa5b0f8c8285b6578ea676ae4.tar.gz
include/fileutils: remove duplicated include
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/fileutils.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/fileutils.h b/include/fileutils.h
index f2c6b2325..13d2bdf0c 100644
--- a/include/fileutils.h
+++ b/include/fileutils.h
@@ -95,7 +95,6 @@ static inline int close_range(unsigned int first, unsigned int last, int flags)
# endif /* SYS_close_range */
# if !defined(HAVE_STATX) && defined(SYS_statx) && defined(HAVE_LINUX_STAT_H)
-# include <fcntl.h>
# include <linux/stat.h>
static inline int statx(int fd, const char *restrict path, int flags,
unsigned int mask, struct statx *stx)