diff options
Diffstat (limited to 'meta/recipes-core/systemd/systemd/0025-fs-utilh-add-missing-sys-stat-include.patch')
-rw-r--r-- | meta/recipes-core/systemd/systemd/0025-fs-utilh-add-missing-sys-stat-include.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd/0025-fs-utilh-add-missing-sys-stat-include.patch b/meta/recipes-core/systemd/systemd/0025-fs-utilh-add-missing-sys-stat-include.patch new file mode 100644 index 0000000000..1c6a6f50de --- /dev/null +++ b/meta/recipes-core/systemd/systemd/0025-fs-utilh-add-missing-sys-stat-include.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From 2560a6b7b9adc5bd5dec0f87c2e3025ced8a2af2 Mon Sep 17 00:00:00 2001 | ||
2 | From: Andrej Valek <andrej.valek@siemens.com> | ||
3 | Date: Thu, 18 Apr 2019 10:47:11 +0200 | ||
4 | Subject: [PATCH] fs-utilh: add missing sys/stat include | ||
5 | |||
6 | fix error: | ||
7 | | error: passing argument 5 of 'chase_symlinks_and_stat' from incompatible pointer type [-Werror=incompatible-pointer-types] | ||
8 | |||
9 | Signed-off-by: Andrej Valek <andrej.valek@siemens.com> | ||
10 | --- | ||
11 | src/basic/fs-util.h | 1 + | ||
12 | 1 file changed, 1 insertion(+) | ||
13 | |||
14 | diff --git a/src/basic/fs-util.h b/src/basic/fs-util.h | ||
15 | index b965120..e2fdfff 100644 | ||
16 | --- a/src/basic/fs-util.h | ||
17 | +++ b/src/basic/fs-util.h | ||
18 | @@ -8,6 +8,7 @@ | ||
19 | #include <stdint.h> | ||
20 | #include <sys/inotify.h> | ||
21 | #include <sys/types.h> | ||
22 | +#include <sys/stat.h> | ||
23 | #include <unistd.h> | ||
24 | |||
25 | #include "errno-util.h" | ||
26 | -- | ||
27 | 2.11.0 | ||
28 | |||