aboutsummaryrefslogtreecommitdiff
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
parent652ce2d449f47cdc4d94eb67f2377504c06957ad (diff)
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>
-rw-r--r--osdep.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/osdep.c b/osdep.c
index cf3a2c620a..9059f019e7 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)