diff options
Diffstat (limited to 'meta/recipes-core/systemd/systemd/0022-include-sys-wait.h-to-avoid-compile-failure.patch')
-rw-r--r-- | meta/recipes-core/systemd/systemd/0022-include-sys-wait.h-to-avoid-compile-failure.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/meta/recipes-core/systemd/systemd/0022-include-sys-wait.h-to-avoid-compile-failure.patch b/meta/recipes-core/systemd/systemd/0022-include-sys-wait.h-to-avoid-compile-failure.patch deleted file mode 100644 index 47212bc3c1..0000000000 --- a/meta/recipes-core/systemd/systemd/0022-include-sys-wait.h-to-avoid-compile-failure.patch +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | From 6c5364736f5afd1106ac240f03806af53979cc60 Mon Sep 17 00:00:00 2001 | ||
2 | From: Chen Qi <Qi.Chen@windriver.com> | ||
3 | Date: Mon, 25 Feb 2019 15:56:50 +0800 | ||
4 | Subject: [PATCH 22/24] include sys/wait.h to avoid compile failure | ||
5 | |||
6 | Fix the following error: | ||
7 | src/udev/udev-event.c:581:53: error: 'WEXITED' undeclared (first use in this function); did you mean 'WIFEXITED'? | ||
8 | |||
9 | Upstream-Status: Inappropriate [musl specific] | ||
10 | |||
11 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | ||
12 | --- | ||
13 | src/udev/udev-event.c | 4 +++- | ||
14 | 1 file changed, 3 insertions(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/src/udev/udev-event.c b/src/udev/udev-event.c | ||
17 | index 07b7365..e532bb7 100644 | ||
18 | --- a/src/udev/udev-event.c | ||
19 | +++ b/src/udev/udev-event.c | ||
20 | @@ -8,7 +8,9 @@ | ||
21 | #include <stdio.h> | ||
22 | #include <stdlib.h> | ||
23 | #include <unistd.h> | ||
24 | - | ||
25 | +#ifndef __GLIBC__ | ||
26 | +#include <sys/wait.h> | ||
27 | +#endif | ||
28 | #include "sd-event.h" | ||
29 | |||
30 | #include "alloc-util.h" | ||
31 | -- | ||
32 | 2.7.4 | ||
33 | |||