Fix BSD breakage from r6736

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6742 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
blueswir1 2009-03-07 16:52:02 +00:00
parent 70c14705c3
commit d40cdb1002
4 changed files with 12 additions and 0 deletions

3
net.c
View File

@ -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>

View File

@ -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>

View File

@ -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>

3
vl.c
View File

@ -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>