Commit d40cdb1002366f16e415908b4e5a18ed02c7be6e

Authored by blueswir1
1 parent 70c14705

Fix BSD breakage from r6736

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6742 c046a42c-6fe2-441c-8c8c-71466251a162
... ... @@ -29,6 +29,9 @@
29 29 #include <sys/time.h>
30 30 #include <zlib.h>
31 31  
  32 +/* Needed early for _BSD etc. */
  33 +#include "config-host.h"
  34 +
32 35 #ifndef _WIN32
33 36 #include <sys/times.h>
34 37 #include <sys/wait.h>
... ...
... ... @@ -33,6 +33,9 @@
33 33 #include <sys/statvfs.h>
34 34 #endif
35 35  
  36 +/* Needed early for _BSD etc. */
  37 +#include "config-host.h"
  38 +
36 39 #ifdef _WIN32
37 40 #define WIN32_LEAN_AND_MEAN
38 41 #include <windows.h>
... ...
savevm.c
... ... @@ -29,6 +29,9 @@
29 29 #include <sys/time.h>
30 30 #include <zlib.h>
31 31  
  32 +/* Needed early for _BSD etc. */
  33 +#include "config-host.h"
  34 +
32 35 #ifndef _WIN32
33 36 #include <sys/times.h>
34 37 #include <sys/wait.h>
... ...
... ... @@ -29,6 +29,9 @@
29 29 #include <sys/time.h>
30 30 #include <zlib.h>
31 31  
  32 +/* Needed early for _BSD etc. */
  33 +#include "config-host.h"
  34 +
32 35 #ifndef _WIN32
33 36 #include <pwd.h>
34 37 #include <sys/times.h>
... ...