From patchwork Wed Feb 10 23:09:15 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [3/4] qemu-kvm: fix placement of config-host.h inclusion From: Paolo Bonzini X-Patchwork-Id: 45068 Message-Id: <1265843356-25765-4-git-send-email-pbonzini@redhat.com> To: qemu-devel@nongnu.org Cc: kvm@vger.kernel.org Date: Thu, 11 Feb 2010 00:09:15 +0100 Cherry-picked from upstream f582af5. Signed-off-by: Paolo Bonzini --- osdep.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/osdep.c b/osdep.c index e613e4b..616e821 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)