From patchwork Tue Feb 2 19:33:11 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 44303 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 5112EB7C59 for ; Wed, 3 Feb 2010 06:41:39 +1100 (EST) Received: from localhost ([127.0.0.1]:47210 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NcOc0-0005pW-RJ for incoming@patchwork.ozlabs.org; Tue, 02 Feb 2010 14:40:36 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NcOUy-0003n7-Q3 for qemu-devel@nongnu.org; Tue, 02 Feb 2010 14:33:20 -0500 Received: from [199.232.76.173] (port=57551 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NcOUy-0003mK-8I for qemu-devel@nongnu.org; Tue, 02 Feb 2010 14:33:20 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NcOUw-00086p-Cj for qemu-devel@nongnu.org; Tue, 02 Feb 2010 14:33:19 -0500 Received: from mx1.redhat.com ([209.132.183.28]:14793) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NcOUv-00086c-Bw for qemu-devel@nongnu.org; Tue, 02 Feb 2010 14:33:17 -0500 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o12JXGhR005138 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 2 Feb 2010 14:33:16 -0500 Received: from localhost.localdomain (vpn1-5-208.ams2.redhat.com [10.36.5.208]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o12JXCJI009573 for ; Tue, 2 Feb 2010 14:33:16 -0500 From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Tue, 2 Feb 2010 20:33:11 +0100 Message-Id: <1265139191-13568-4-git-send-email-pbonzini@redhat.com> In-Reply-To: <1265139191-13568-1-git-send-email-pbonzini@redhat.com> References: <1265139191-13568-1-git-send-email-pbonzini@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: [Qemu-devel] [PATCH 3/3] fix placement of config-host.h inclusion X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@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)