Files
nixpkgs/pkgs/by-name/li/libdbiDrivers/libdbi-drivers-0.9.0-470b58e15-wait-include.patch
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

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};