From da4fea066d9e08654940801d46e350a8bbd56547 Mon Sep 17 00:00:00 2001 From: Igor Mammedov Date: Mon, 20 Aug 2012 01:39:37 +0200 Subject: [PATCH] qapi-types.h: Don't include qemu-common.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Needed to prevent build breakage when CPUState becomes a child of DeviceState. Signed-off-by: Igor Mammedov [ehabkost: include too] Signed-off-by: Eduardo Habkost Signed-off-by: Andreas Färber --- 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 1b84834959..6bc2391874 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)))