summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-01-27 17:47:33 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-01-27 17:47:33 +0000
commit28b150bfb08871717e1759489549e34065456bfd (patch)
treeb368ea2084ef3c188fce11d57d166008604bb4f7
parent28e68d68b0c88cb5eb0d9fa6c30914a3cdddebfc (diff)
Fix BSD build
<sys/wait.h> must be included in order to use WIF* macros. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r--net/slirp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/slirp.c b/net/slirp.c
index b75ad1652..361899b8f 100644
--- a/net/slirp.c
+++ b/net/slirp.c
@@ -25,6 +25,9 @@
#include "config-host.h"
+#ifndef _WIN32
+#include <sys/wait.h>
+#endif
#include "net.h"
#include "monitor.h"
#include "sysemu.h"