summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-12-06 11:51:59 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2012-12-19 08:31:30 +0100
commit4167c42c5eb79add9252547efe92df7e5c2d1abd (patch)
tree2f467b44ea95242b4c667829f97725f0eb9ee5cb /scripts
parent79ee7df8853c5d7085d87036420b6b388dda2595 (diff)
downloadqemu-4167c42c5eb79add9252547efe92df7e5c2d1abd.tar.gz
qemu-4167c42c5eb79add9252547efe92df7e5c2d1abd.tar.bz2
qemu-4167c42c5eb79add9252547efe92df7e5c2d1abd.zip
qapi: remove qapi/qapi-types-core.h
The file is only including error.h and qerror.h. Prefer explicit inclusion of whatever files are needed. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/qapi-commands.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/qapi-commands.py b/scripts/qapi-commands.py
index 2db0bf1e56..5d034c2c21 100644
--- a/scripts/qapi-commands.py
+++ b/scripts/qapi-commands.py
@@ -367,6 +367,8 @@ def gen_command_def_prologue(prefix="", proxy=False):
*/
#include "qemu-common.h"
+#include "module.h"
+#include "qerror.h"
#include "qemu-objects.h"
#include "qapi/qmp-core.h"
#include "qapi/qapi-visit-core.h"