FreeBSD: explicit include signal.h to fix build failure

In Linux envrionment, signal.h included by sys/wait.h, however, this
isn't the case in FreeBSD. So explicit include it to fix build failure.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=66197
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
This commit is contained in:
Chengwei Yang 2013-06-26 15:40:12 +08:00 committed by Simon McVittie
parent 11516f65d0
commit 9665b8ecd8

View file

@ -34,6 +34,7 @@
#include <sys/types.h>
#include <sys/wait.h>
#include <signal.h>
#define MAX_ADDR_LEN 512
#define PIPE_READ_END 0