From: Paolo Bonzini Date: Tue, 2 Feb 2010 19:33:11 +0000 (+0100) Subject: fix placement of config-host.h inclusion X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f582af586587363973d95245b468c2968e320d00;p=qemu.git fix placement of config-host.h inclusion The #ifdef CONFIG_SOLARIS below was useless without this patch. Signed-off-by: Paolo Bonzini Signed-off-by: Anthony Liguori --- diff --git a/osdep.c b/osdep.c index cf3a2c620a..9059f019e7 100644 --- a/osdep.c +++ b/osdep.c @@ -28,14 +28,15 @@ #include #include #include + +/* Needed early for CONFIG_BSD etc. */ +#include "config-host.h" + #ifdef CONFIG_SOLARIS #include #include #endif -/* Needed early for CONFIG_BSD etc. */ -#include "config-host.h" - #ifdef _WIN32 #include #elif defined(CONFIG_BSD)