aboutsummaryrefslogtreecommitdiff
path: root/osdep.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2010-02-02 20:33:11 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2010-02-10 11:56:56 -0600
commitf582af586587363973d95245b468c2968e320d00 (patch)
tree89a338a1e761e64f54548ab227b4492b2e9eba9a /osdep.c
parent652ce2d449f47cdc4d94eb67f2377504c06957ad (diff)
downloadqemu-f582af586587363973d95245b468c2968e320d00.zip
qemu-f582af586587363973d95245b468c2968e320d00.tar.gz
qemu-f582af586587363973d95245b468c2968e320d00.tar.bz2
fix placement of config-host.h inclusion
The #ifdef CONFIG_SOLARIS below was useless without this patch. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'osdep.c')
-rw-r--r--osdep.c7
1 files changed, 4 insertions, 3 deletions
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)