Brad Bishop | a34c030 | 2019-09-23 22:34:48 -0400 | [diff] [blame^] | 1 | Include sys/wait.h |
| 2 | |
| 3 | Fixes: |
| 4 | src/login/logind-brightness.c:158:85: error: 'WEXITED' undeclared (first use in this function); did you mean 'WIFEXITED'? |
| 5 | 158 | r = sd_event_add_child(w->manager->event, &w->child_event_source, w->child, WEXITED, on_brightness_writer_exit, w); |
| 6 | | ^~~~~~~ |
| 7 | |
| 8 | Upstream-Status: Pending |
| 9 | |
| 10 | Signed-off-by: Scott Murray <scott.murray@konsulko.com> |
| 11 | --- |
| 12 | src/login/logind-brightness.c | 1 + |
| 13 | 1 file changed, 1 insertion(+) |
| 14 | |
| 15 | diff --git a/src/login/logind-brightness.c b/src/login/logind-brightness.c |
| 16 | index 8dfa97d7ae..bddd4a2727 100644 |
| 17 | --- a/src/login/logind-brightness.c |
| 18 | +++ b/src/login/logind-brightness.c |
| 19 | @@ -1,5 +1,6 @@ |
| 20 | /* SPDX-License-Identifier: LGPL-2.1+ */ |
| 21 | |
| 22 | +#include <sys/wait.h> |
| 23 | #include "bus-util.h" |
| 24 | #include "device-util.h" |
| 25 | #include "hash-funcs.h" |