Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
24 lines
661 B
Diff
24 lines
661 B
Diff
commit 470b58e15dc6f406899b1695aec7fc98986b8f14
|
|
Author: Jan Engelhardt <jengelh@inai.de>
|
|
Date: Fri Jan 27 09:56:44 2017 +0100
|
|
|
|
build: resolve compiler warning for wait(2)
|
|
|
|
src/unit.c: In function "wait_for_child_process":
|
|
src/unit.c:229:5: warning: implicit declaration of function "wait" [-Wimplicit-function-declaration]
|
|
wait(&status);
|
|
|
|
diff --git a/tests/cgreen/src/unit.c b/tests/cgreen/src/unit.c
|
|
index 7753ff1..bdd236f 100644
|
|
--- a/tests/cgreen/src/unit.c
|
|
+++ b/tests/cgreen/src/unit.c
|
|
@@ -9,6 +9,7 @@
|
|
#include <stdarg.h>
|
|
#include <unistd.h>
|
|
#include <signal.h>
|
|
+#include <sys/wait.h>
|
|
|
|
enum {test_function, test_suite};
|
|
|
|
|