diff options
author | Luiz Capitulino | 2012-07-27 15:56:33 +0200 |
---|---|---|
committer | Luiz Capitulino | 2012-08-13 18:20:58 +0200 |
commit | b68a8472c17d2d2127afcf1a8dc57884e6584173 (patch) | |
tree | 3db7ec25bc9b7752dcba6824b386f95049ef68bc /scripts | |
parent | hmp: hmp.h: include qdict.h (diff) | |
download | qemu-b68a8472c17d2d2127afcf1a8dc57884e6584173.tar.gz qemu-b68a8472c17d2d2127afcf1a8dc57884e6584173.tar.xz qemu-b68a8472c17d2d2127afcf1a8dc57884e6584173.zip |
qapi: qapi-types.h: don't include qapi/qapi-types-core.h
qapi-types.h needs only qemu-common.h. Including qapi-types-core.h
causes problems when qerror.h or error.h includes qapi-types.h.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/qapi-types.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/qapi-types.py b/scripts/qapi-types.py index 4a734f58d5..3ed9f04895 100644 --- a/scripts/qapi-types.py +++ b/scripts/qapi-types.py @@ -253,7 +253,8 @@ fdecl.write(mcgen(''' #ifndef %(guard)s #define %(guard)s -#include "qapi/qapi-types-core.h" +#include "qemu-common.h" + ''', guard=guardname(h_file))) |