From f582af586587363973d95245b468c2968e320d00 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Tue, 2 Feb 2010 20:33:11 +0100 Subject: [PATCH] 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 --- osdep.c | 7 ++++--- 1 file 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 #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)