From: Paolo Bonzini Date: Tue, 2 Feb 2010 19:33:11 +0000 (+0100) Subject: fix placement of config-host.h inclusion X-Git-Tag: v0.13.0-rc0~1429 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f582af586587363973d95245b468c2968e320d00;p=thirdparty%2Fqemu.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 cf3a2c620a1..9059f019e7c 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)