aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2012-08-20 01:39:37 +0200
committerAndreas Färber <afaerber@suse.de>2012-11-15 02:46:20 +0100
commitda4fea066d9e08654940801d46e350a8bbd56547 (patch)
treef95cba0a3986547783e19bb275611d7f8876665b /scripts
parent17e0b6ab08bd272aee24bd1a173bf0adc708d0aa (diff)
downloadqemu-da4fea066d9e08654940801d46e350a8bbd56547.zip
qemu-da4fea066d9e08654940801d46e350a8bbd56547.tar.gz
qemu-da4fea066d9e08654940801d46e350a8bbd56547.tar.bz2
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 <imammedo@redhat.com> [ehabkost: include <stdbool.h> too] Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/qapi-types.py3
1 files changed, 2 insertions, 1 deletions
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 <stdbool.h>
+#include <stdint.h>
''',
guard=guardname(h_file)))