summaryrefslogtreecommitdiff
path: root/savevm.c
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 /savevm.c
parent70c14705c36ccbab58b25a00c59a83cdc6a8449f (diff)
Fix BSD breakage from r6736
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6742 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'savevm.c')
-rw-r--r--savevm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/savevm.c b/savevm.c
index a28af0421..a25d3658f 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>