From 460e42b13b20cbf99c96430a6dc623d5495753d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1n=20Tomko?= Date: Tue, 4 Mar 2014 08:39:56 +0100 Subject: [PATCH] build: Include sys/wait.h in commandtest.c 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] --- tests/commandtest.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/commandtest.c b/tests/commandtest.c index cb78a3c50a..c8053ff604 100644 --- a/tests/commandtest.c +++ b/tests/commandtest.c @@ -26,6 +26,7 @@ #include #include #include +#include #include #include "testutils.h"