[6742] Fix BSD breakage from r6736
Revision: 6742
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6742 Author: blueswir1 Date: 2009-03-07 16:52:02 +0000 (Sat, 07 Mar 2009)
Log Message:
-----------
Fix BSD breakage from r6736
Modified Paths:
--------------
trunk/net.c
trunk/osdep.c
trunk/savevm.c
trunk/vl.c
Modified: trunk/net.c
===================================================================
net.c +3 -0
@@ -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>
Modified: trunk/osdep.c
===================================================================
osdep.c +3 -0
@@ -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>
Modified: trunk/savevm.c
===================================================================
savevm.c +3 -0
@@ -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>
Modified: trunk/vl.c
===================================================================
vl.c +3 -0
@@ -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>