From patchwork Thu Nov 15 03:06:44 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [08/11] qapi-types.h: Don't include qemu-common.h Date: Wed, 14 Nov 2012 17:06:44 -0000 From: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 199119 Message-Id: <1352948807-30415-9-git-send-email-afaerber@suse.de> To: qemu-devel@nongnu.org Cc: Igor Mammedov , Eduardo Habkost , anthony@codemonkey.ws, =?UTF-8?q?Andreas=20F=C3=A4rber?= From: Igor Mammedov 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 Datei geändert, 2 Zeilen hinzugefügt(+), 1 Zeile entfernt(-) diff --git a/scripts/qapi-types.py b/scripts/qapi-types.py index 1b84834..6bc2391 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)))