From d40cdb1002366f16e415908b4e5a18ed02c7be6e Mon Sep 17 00:00:00 2001 From: blueswir1 Date: Sat, 7 Mar 2009 16:52:02 +0000 Subject: Fix BSD breakage from r6736 git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6742 c046a42c-6fe2-441c-8c8c-71466251a162 --- net.c | 3 +++ osdep.c | 3 +++ savevm.c | 3 +++ vl.c | 3 +++ 4 files changed, 12 insertions(+) diff --git a/net.c b/net.c index 18ee309..1efa810 100644 --- a/net.c +++ b/net.c @@ -29,6 +29,9 @@ #include #include +/* Needed early for _BSD etc. */ +#include "config-host.h" + #ifndef _WIN32 #include #include diff --git a/osdep.c b/osdep.c index 04e98f0..ff5f17a 100644 --- a/osdep.c +++ b/osdep.c @@ -33,6 +33,9 @@ #include #endif +/* Needed early for _BSD etc. */ +#include "config-host.h" + #ifdef _WIN32 #define WIN32_LEAN_AND_MEAN #include diff --git a/savevm.c b/savevm.c index a28af04..a25d365 100644 --- a/savevm.c +++ b/savevm.c @@ -29,6 +29,9 @@ #include #include +/* Needed early for _BSD etc. */ +#include "config-host.h" + #ifndef _WIN32 #include #include diff --git a/vl.c b/vl.c index 00aae19..804c835 100644 --- a/vl.c +++ b/vl.c @@ -29,6 +29,9 @@ #include #include +/* Needed early for _BSD etc. */ +#include "config-host.h" + #ifndef _WIN32 #include #include -- cgit v1.1