From patchwork Wed Oct 3 17:48:34 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eduardo Habkost X-Patchwork-Id: 188866 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 635492C00BC for ; Thu, 4 Oct 2012 03:48:06 +1000 (EST) Received: from localhost ([::1]:40333 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJT39-0002nH-IX for incoming@patchwork.ozlabs.org; Wed, 03 Oct 2012 13:47:59 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59729) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJT2s-0002k0-TN for qemu-devel@nongnu.org; Wed, 03 Oct 2012 13:47:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJT2r-0006Sc-TU for qemu-devel@nongnu.org; Wed, 03 Oct 2012 13:47:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:5345) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJT2r-0006SL-K0 for qemu-devel@nongnu.org; Wed, 03 Oct 2012 13:47:41 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q93HldRN031455 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 3 Oct 2012 13:47:39 -0400 Received: from blackpad.lan.raisama.net (vpn1-7-147.gru2.redhat.com [10.97.7.147]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q93HlcrV028897; Wed, 3 Oct 2012 13:47:39 -0400 Received: by blackpad.lan.raisama.net (Postfix, from userid 500) id C5A9B203603; Wed, 3 Oct 2012 14:48:40 -0300 (BRT) From: Eduardo Habkost To: qemu-devel@nongnu.org Date: Wed, 3 Oct 2012 14:48:34 -0300 Message-Id: <1349286518-28123-3-git-send-email-ehabkost@redhat.com> In-Reply-To: <1349286518-28123-1-git-send-email-ehabkost@redhat.com> References: <1349286518-28123-1-git-send-email-ehabkost@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.132.183.28 Cc: Paolo Bonzini , Anthony Liguori , Igor Mammedov Subject: [Qemu-devel] [PATCH 2/6] qapi-types.h doesn't really need to include qemu-common.h X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Igor Mammedov needed to prevent build breakage when CPU becomes a child of DeviceState [ehabkost: include too] Signed-off-by: Igor Mammedov Signed-off-by: Eduardo Habkost --- scripts/qapi-types.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/qapi-types.py b/scripts/qapi-types.py index 49ef569..6e0e6ba 100644 --- a/scripts/qapi-types.py +++ b/scripts/qapi-types.py @@ -273,7 +273,8 @@ fdecl.write(mcgen(''' #ifndef %(guard)s #define %(guard)s -#include "qemu-common.h" +#include +#include ''', guard=guardname(h_file)))