summaryrefslogtreecommitdiffstats
path: root/src/basic/fs-util.h
diff options
context:
space:
mode:
authorAndrej Valek <andrej.valek@siemens.com>2019-04-18 10:47:11 +0200
committerAdrian Bunk <bunk@stusta.de>2019-05-17 08:40:46 +0200
commit56e3c9581e2c9b7435d5fcbd74b47c7ccf6b3891 (patch)
treea5c9c0a16141264a07768b5d1d64b9b871b6ce67 /src/basic/fs-util.h
parentReplace the legacy ULONG_LONG_MAX with the C99 ULLONG_MAX (diff)
downloadsystemd-56e3c9581e2c9b7435d5fcbd74b47c7ccf6b3891.tar.xz
systemd-56e3c9581e2c9b7435d5fcbd74b47c7ccf6b3891.zip
fs-util.h: add missing sys/stat include
fix error: | error: passing argument 5 of 'chase_symlinks_and_stat' from incompatible pointer type [-Werror=incompatible-pointer-types]
Diffstat (limited to 'src/basic/fs-util.h')
-rw-r--r--src/basic/fs-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/fs-util.h b/src/basic/fs-util.h
index b9651205e6..c153bc4448 100644
--- a/src/basic/fs-util.h
+++ b/src/basic/fs-util.h
@@ -7,6 +7,7 @@
#include <stdbool.h>
#include <stdint.h>
#include <sys/inotify.h>
+#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>