From: Igor Mammedov Date: Sun, 19 Aug 2012 23:39:37 +0000 (+0200) Subject: qapi-types.h: Don't include qemu-common.h X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~900^2~59^2~1307^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=da4fea066d9e08654940801d46e350a8bbd56547;p=sdk%2Femulator%2Fqemu.git qapi-types.h: Don't include qemu-common.h 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 --- 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)))