blob: ada404b053e3e16bcda57e87a485999d544eaeaf [file] [log] [blame]
Brad Bishop15ae2502019-06-18 21:44:24 -04001From 56e3c9581e2c9b7435d5fcbd74b47c7ccf6b3891 Mon Sep 17 00:00:00 2001
Brad Bishopc342db32019-05-15 21:57:59 -04002From: Andrej Valek <andrej.valek@siemens.com>
3Date: Thu, 18 Apr 2019 10:47:11 +0200
Brad Bishop15ae2502019-06-18 21:44:24 -04004Subject: fs-util.h: add missing sys/stat include
Brad Bishopc342db32019-05-15 21:57:59 -04005
6fix error:
7| error: passing argument 5 of 'chase_symlinks_and_stat' from incompatible pointer type [-Werror=incompatible-pointer-types]
8
9Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
10
Brad Bishop15ae2502019-06-18 21:44:24 -040011Upstream-Status: Accepted
Brad Bishopc342db32019-05-15 21:57:59 -040012---
13 src/basic/fs-util.h | 1 +
14 1 file changed, 1 insertion(+)
15
16diff --git a/src/basic/fs-util.h b/src/basic/fs-util.h
Brad Bishop15ae2502019-06-18 21:44:24 -040017index b9651205e6..c153bc4448 100644
Brad Bishopc342db32019-05-15 21:57:59 -040018--- a/src/basic/fs-util.h
19+++ b/src/basic/fs-util.h
Brad Bishop15ae2502019-06-18 21:44:24 -040020@@ -7,6 +7,7 @@
21 #include <stdbool.h>
Brad Bishopc342db32019-05-15 21:57:59 -040022 #include <stdint.h>
23 #include <sys/inotify.h>
Brad Bishopc342db32019-05-15 21:57:59 -040024+#include <sys/stat.h>
Brad Bishop15ae2502019-06-18 21:44:24 -040025 #include <sys/types.h>
Brad Bishopc342db32019-05-15 21:57:59 -040026 #include <unistd.h>
27
Brad Bishopc342db32019-05-15 21:57:59 -040028--
Brad Bishop15ae2502019-06-18 21:44:24 -0400292.20.1
Brad Bishopc342db32019-05-15 21:57:59 -040030