summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd/systemd/0023-Include-sys-wait.h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/systemd/systemd/0023-Include-sys-wait.h.patch')
-rw-r--r--meta/recipes-core/systemd/systemd/0023-Include-sys-wait.h.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/meta/recipes-core/systemd/systemd/0023-Include-sys-wait.h.patch b/meta/recipes-core/systemd/systemd/0023-Include-sys-wait.h.patch
deleted file mode 100644
index ea4a024b82..0000000000
--- a/meta/recipes-core/systemd/systemd/0023-Include-sys-wait.h.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1From 359e7a38824a906b0a24f5775f41a2ae3358bf06 Mon Sep 17 00:00:00 2001
2From: Scott Murray <scott.murray@konsulko.com>
3Date: Fri, 13 Sep 2019 19:26:27 -0400
4Subject: [PATCH 23/26] Include sys/wait.h
5
6Fixes:
7src/login/logind-brightness.c:158:85: error: 'WEXITED' undeclared (first use in this function); did you mean 'WIFEXITED'?
8 158 | r = sd_event_add_child(w->manager->event, &w->child_event_source, w->child, WEXITED, on_brightness_writer_exit, w);
9 | ^~~~~~~
10
11Upstream-Status: Pending
12
13Signed-off-by: Scott Murray <scott.murray@konsulko.com>
14---
15 src/login/logind-brightness.c | 1 +
16 1 file changed, 1 insertion(+)
17
18diff --git a/src/login/logind-brightness.c b/src/login/logind-brightness.c
19index a6a1603396..54848ce209 100644
20--- a/src/login/logind-brightness.c
21+++ b/src/login/logind-brightness.c
22@@ -1,5 +1,6 @@
23 /* SPDX-License-Identifier: LGPL-2.1-or-later */
24
25+#include <sys/wait.h>
26 #include "bus-util.h"
27 #include "device-util.h"
28 #include "hash-funcs.h"
29--
302.27.0
31