From patchwork Tue Feb 2 19:33:11 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [3/3] fix placement of config-host.h inclusion Date: Tue, 02 Feb 2010 09:33:11 -0000 From: Paolo Bonzini X-Patchwork-Id: 44303 Message-Id: <1265139191-13568-4-git-send-email-pbonzini@redhat.com> To: qemu-devel@nongnu.org The #ifdef CONFIG_SOLARIS below was useless without this patch. Signed-off-by: Paolo Bonzini --- osdep.c | 7 ++++--- 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 #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)