summaryrefslogtreecommitdiffstats
path: root/scripts/qapi-visit.py
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-12-06 11:22:34 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2012-12-19 08:31:30 +0100
commit79ee7df8853c5d7085d87036420b6b388dda2595 (patch)
tree6f2b23fcb24e3af7137fdfe22f62ad2b79a46b5d /scripts/qapi-visit.py
parent28ecbaeecb139a214f019207402a35d7b58aec0f (diff)
downloadhqemu-79ee7df8853c5d7085d87036420b6b388dda2595.zip
hqemu-79ee7df8853c5d7085d87036420b6b388dda2595.tar.gz
qapi: move inclusions of qemu-common.h from headers to .c files
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/qapi-visit.py')
-rw-r--r--scripts/qapi-visit.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/qapi-visit.py b/scripts/qapi-visit.py
index a360de7..f1aabb3 100644
--- a/scripts/qapi-visit.py
+++ b/scripts/qapi-visit.py
@@ -298,6 +298,7 @@ fdef.write(mcgen('''
*
*/
+#include "qemu-common.h"
#include "%(header)s"
''',
header=basename(h_file)))
OpenPOWER on IntegriCloud