diff options
Diffstat (limited to 'meta/recipes-core/systemd/systemd/0024-Include-signal.h.patch')
-rw-r--r-- | meta/recipes-core/systemd/systemd/0024-Include-signal.h.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd/0024-Include-signal.h.patch b/meta/recipes-core/systemd/systemd/0024-Include-signal.h.patch new file mode 100644 index 0000000000..2820d7b322 --- /dev/null +++ b/meta/recipes-core/systemd/systemd/0024-Include-signal.h.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From 0592da08e16a17ceef0949ec9901397d8ec5af92 Mon Sep 17 00:00:00 2001 | ||
2 | From: Scott Murray <scott.murray@konsulko.com> | ||
3 | Date: Fri, 13 Sep 2019 19:26:27 -0400 | ||
4 | Subject: [PATCH 24/26] Include signal.h | ||
5 | |||
6 | Fixes several signal set related errors: | ||
7 | src/basic/copy.c:92:19: error: implicit declaration of function 'sigemptyset' [-Werror=implicit-function-declaration] | ||
8 | src/basic/copy.c:93:19: error: implicit declaration of function 'sigaddset' [-Werror=implicit-function-declaration] | ||
9 | src/basic/copy.c:93:34: error: 'SIGINT' undeclared (first use in this function) | ||
10 | src/basic/copy.c:95:13: error: implicit declaration of function 'sigtimedwait' [-Werror=implicit-function-declaration] | ||
11 | |||
12 | Upstream-Status: Pending | ||
13 | |||
14 | Signed-off-by: Scott Murray <scott.murray@konsulko.com> | ||
15 | --- | ||
16 | src/basic/copy.c | 1 + | ||
17 | 1 file changed, 1 insertion(+) | ||
18 | |||
19 | diff --git a/src/basic/copy.c b/src/basic/copy.c | ||
20 | index 6a9c3a396f..8948bb4013 100644 | ||
21 | --- a/src/basic/copy.c | ||
22 | +++ b/src/basic/copy.c | ||
23 | @@ -8,6 +8,7 @@ | ||
24 | #include <sys/sendfile.h> | ||
25 | #include <sys/xattr.h> | ||
26 | #include <unistd.h> | ||
27 | +#include <signal.h> | ||
28 | |||
29 | #include "alloc-util.h" | ||
30 | #include "btrfs-util.h" | ||
31 | -- | ||
32 | 2.27.0 | ||
33 | |||