Message ID | 1265139191-13568-4-git-send-email-pbonzini@redhat.com |
---|---|
State | New |
Headers | show |
diff --git a/osdep.c b/osdep.c index cf3a2c6..9059f01 100644 --- a/osdep.c +++ b/osdep.c @@ -28,14 +28,15 @@ #include <errno.h> #include <unistd.h> #include <fcntl.h> + +/* Needed early for CONFIG_BSD etc. */ +#include "config-host.h" + #ifdef CONFIG_SOLARIS #include <sys/types.h> #include <sys/statvfs.h> #endif -/* Needed early for CONFIG_BSD etc. */ -#include "config-host.h" - #ifdef _WIN32 #include <windows.h> #elif defined(CONFIG_BSD)
The #ifdef CONFIG_SOLARIS below was useless without this patch. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> --- osdep.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-)