diff options
Diffstat (limited to 'meta/recipes-core/systemd/systemd/0023-socket-util.h-include-string.h.patch')
-rw-r--r-- | meta/recipes-core/systemd/systemd/0023-socket-util.h-include-string.h.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/meta/recipes-core/systemd/systemd/0023-socket-util.h-include-string.h.patch b/meta/recipes-core/systemd/systemd/0023-socket-util.h-include-string.h.patch deleted file mode 100644 index 37987b57f6..0000000000 --- a/meta/recipes-core/systemd/systemd/0023-socket-util.h-include-string.h.patch +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | From 56fb30d93e96d7f983af0cb4dff9155da91dd671 Mon Sep 17 00:00:00 2001 | ||
2 | From: Chen Qi <Qi.Chen@windriver.com> | ||
3 | Date: Mon, 25 Feb 2019 16:37:19 +0800 | ||
4 | Subject: socket-util.h: include string.h | ||
5 | |||
6 | Fix the following compile error: | ||
7 | src/basic/socket-util.h:187:30: error: implicit declaration of function 'strnlen'; did you mean 'strlen'? [-Werror=implicit-function-declaration] | ||
8 | |||
9 | Upstream-Status: Accepted | ||
10 | |||
11 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | ||
12 | --- | ||
13 | src/basic/socket-util.h | 1 + | ||
14 | 1 file changed, 1 insertion(+) | ||
15 | |||
16 | diff --git a/src/basic/socket-util.h b/src/basic/socket-util.h | ||
17 | index 6920fd99ba..36ec422f2c 100644 | ||
18 | --- a/src/basic/socket-util.h | ||
19 | +++ b/src/basic/socket-util.h | ||
20 | @@ -9,6 +9,7 @@ | ||
21 | #include <netinet/in.h> | ||
22 | #include <stdbool.h> | ||
23 | #include <stddef.h> | ||
24 | +#include <string.h> | ||
25 | #include <sys/socket.h> | ||
26 | #include <sys/types.h> | ||
27 | #include <sys/un.h> | ||
28 | -- | ||
29 | 2.20.1 | ||
30 | |||