Fix BSD build
authorBlue Swirl <blauwirbel@gmail.com>
Wed, 27 Jan 2010 17:47:33 +0000 (17:47 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Wed, 27 Jan 2010 17:47:33 +0000 (17:47 +0000)
<sys/wait.h> must be included in order to use WIF* macros.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
net/slirp.c

index b75ad165211766e4f8f8ee9549badde53c10ff40..361899b8f225f5d054f3583a754224266aee132c 100644 (file)
@@ -25,6 +25,9 @@
 
 #include "config-host.h"
 
+#ifndef _WIN32
+#include <sys/wait.h>
+#endif
 #include "net.h"
 #include "monitor.h"
 #include "sysemu.h"