From patchwork Wed Oct 3 17:48:34 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [2/6] qapi-types.h doesn't really need to include qemu-common.h From: Eduardo Habkost X-Patchwork-Id: 188866 Message-Id: <1349286518-28123-3-git-send-email-ehabkost@redhat.com> To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Anthony Liguori , Igor Mammedov Date: Wed, 3 Oct 2012 14:48:34 -0300 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)))