]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
fs-util.h: add missing sys/stat include 12593/head
authorAndrej Valek <andrej.valek@siemens.com>
Thu, 18 Apr 2019 08:47:11 +0000 (10:47 +0200)
committerAdrian Bunk <bunk@stusta.de>
Fri, 17 May 2019 06:40:46 +0000 (09:40 +0300)
fix error:
| error: passing argument 5 of 'chase_symlinks_and_stat' from incompatible pointer type [-Werror=incompatible-pointer-types]

src/basic/fs-util.h

index b9651205e60818661ebf97af4e8cfc38f0e9c8bb..c153bc4448da61ccae1f5beabfaa7dd1d29e7b0f 100644 (file)
@@ -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>