Re: [libvirt] [PATCH] build: Include sys/wait.h in commandtest.c

2014-03-04 Thread Eric Blake
On 03/04/2014 12:45 AM, Ján Tomko wrote: 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

[libvirt] [PATCH] build: Include sys/wait.h in commandtest.c

2014-03-03 Thread Ján Tomko
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