aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-07 16:52:02 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-07 16:52:02 +0000
commitd40cdb1002366f16e415908b4e5a18ed02c7be6e (patch)
tree8c54e60a3010c75f94bba8a565642c02d4fba758
parent70c14705c36ccbab58b25a00c59a83cdc6a8449f (diff)
Fix BSD breakage from r6736
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6742 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--net.c3
-rw-r--r--osdep.c3
-rw-r--r--savevm.c3
-rw-r--r--vl.c3
4 files changed, 12 insertions, 0 deletions
diff --git a/net.c b/net.c
index 18ee309922..1efa81088e 100644
--- a/net.c
+++ b/net.c
@@ -29,6 +29,9 @@
#include <sys/time.h>
#include <zlib.h>
+/* Needed early for _BSD etc. */
+#include "config-host.h"
+
#ifndef _WIN32
#include <sys/times.h>
#include <sys/wait.h>
diff --git a/osdep.c b/osdep.c
index 04e98f0b29..ff5f17a6bd 100644
--- a/osdep.c
+++ b/osdep.c
@@ -33,6 +33,9 @@
#include <sys/statvfs.h>
#endif
+/* Needed early for _BSD etc. */
+#include "config-host.h"
+
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
diff --git a/savevm.c b/savevm.c
index a28af04215..a25d3658f0 100644
--- a/savevm.c
+++ b/savevm.c
@@ -29,6 +29,9 @@
#include <sys/time.h>
#include <zlib.h>
+/* Needed early for _BSD etc. */
+#include "config-host.h"
+
#ifndef _WIN32
#include <sys/times.h>
#include <sys/wait.h>
diff --git a/vl.c b/vl.c
index 00aae19c56..804c835e4e 100644
--- a/vl.c
+++ b/vl.c
@@ -29,6 +29,9 @@
#include <sys/time.h>
#include <zlib.h>
+/* Needed early for _BSD etc. */
+#include "config-host.h"
+
#ifndef _WIN32
#include <pwd.h>
#include <sys/times.h>