Commit 631923e used a few macros from sys/wait.h without including
it. On Linux, they were also defined in stdlib.h, but on FreeBSD
the build failed:
../../tests/commandtest.c: In function 'test1':
warning: implicit declaration of function 'WIFEXITED'
warning: nested extern declaration of 'WIFEXITED' [-Wnested-externs]
---
Pushed as a trivial build-breaker fix.
tests/commandtest.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/commandtest.c b/tests/commandtest.c
index cb78a3c..c8053ff 100644
--- a/tests/commandtest.c
+++ b/tests/commandtest.c
@@ -26,6 +26,7 @@
#include <unistd.h>
#include <signal.h>
#include <sys/stat.h>
+#include <sys/wait.h>
#include <fcntl.h>
#include "testutils.h"
--
1.8.3.2