diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-12-06 11:22:34 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-12-19 08:31:30 +0100 |
commit | 79ee7df8853c5d7085d87036420b6b388dda2595 (patch) | |
tree | 6f2b23fcb24e3af7137fdfe22f62ad2b79a46b5d /scripts | |
parent | 28ecbaeecb139a214f019207402a35d7b58aec0f (diff) | |
download | qemu-79ee7df8853c5d7085d87036420b6b388dda2595.tar.gz qemu-79ee7df8853c5d7085d87036420b6b388dda2595.tar.bz2 qemu-79ee7df8853c5d7085d87036420b6b388dda2595.zip |
qapi: move inclusions of qemu-common.h from headers to .c files
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/qapi-commands.py | 1 | ||||
-rw-r--r-- | scripts/qapi-visit.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/scripts/qapi-commands.py b/scripts/qapi-commands.py index 3c4678dbf1..2db0bf1e56 100644 --- a/scripts/qapi-commands.py +++ b/scripts/qapi-commands.py @@ -366,6 +366,7 @@ def gen_command_def_prologue(prefix="", proxy=False): * */ +#include "qemu-common.h" #include "qemu-objects.h" #include "qapi/qmp-core.h" #include "qapi/qapi-visit-core.h" diff --git a/scripts/qapi-visit.py b/scripts/qapi-visit.py index a360de719f..f1aabb3813 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))) |