From mboxrd@z Thu Jan 1 00:00:00 1970 From: Igor Mammedov Subject: Re: [PATCH 3/5] qapi-types.h doesn't really need to include qemu-common.h Date: Mon, 20 Aug 2012 21:59:28 +0200 Message-ID: <20120820215928.4f430207@thinkpad.mammed.net> References: <1345419579-25499-1-git-send-email-imammedo@redhat.com> <1345419579-25499-4-git-send-email-imammedo@redhat.com> <20120820122210.572a79b5@doriath.home> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20120820122210.572a79b5@doriath.home> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org To: Luiz Capitulino Cc: peter.maydell@linaro.org, jan.kiszka@siemens.com, mjt@tls.msk.ru, qemu-devel@nongnu.org, armbru@redhat.com, blauwirbel@gmail.com, kraxel@redhat.com, xen-devel@lists.xensource.com, i.mitsyanko@samsung.com, mdroth@linux.vnet.ibm.com, avi@redhat.com, anthony.perard@citrix.com, lersek@redhat.com, stefanha@linux.vnet.ibm.com, stefano.stabellini@eu.citrix.com, sw@weilnetz.de, rth@twiddle.net, kwolf@redhat.com, aliguori@us.ibm.com, mtosatti@redhat.com, pbonzini@redhat.com, afaerber@suse.de List-Id: xen-devel@lists.xenproject.org On Mon, 20 Aug 2012 12:22:10 -0300 Luiz Capitulino wrote: > On Mon, 20 Aug 2012 01:39:37 +0200 > Igor Mammedov wrote: > > > needed to prevent build breakage when CPU becomes a child of DeviceState > > > > Signed-off-by: Igor Mammedov > > --- > > scripts/qapi-types.py | 2 +- > > 1 files changed, 1 insertions(+), 1 deletions(-) > > > > diff --git a/scripts/qapi-types.py b/scripts/qapi-types.py > > index cf601ae..f34addb 100644 > > --- a/scripts/qapi-types.py > > +++ b/scripts/qapi-types.py > > @@ -263,7 +263,7 @@ fdecl.write(mcgen(''' > > #ifndef %(guard)s > > #define %(guard)s > > > > -#include "qemu-common.h" > > +#include > > Please, also include , as int64_t is used in qapi-types.h. > > The build doesn't break probably because files including qapi-types.h are > including first. Thanks for suggestion. I'll fix it for next respin. > > > > > ''', > > guard=guardname(h_file))) > -- Regards, Igor