diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2012-07-27 10:56:33 -0300 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2012-08-13 13:20:58 -0300 |
commit | b68a8472c17d2d2127afcf1a8dc57884e6584173 (patch) | |
tree | 3db7ec25bc9b7752dcba6824b386f95049ef68bc /scripts | |
parent | ff2f990b8212c8822d6a2f66ab4baeb48dae86bd (diff) |
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))) |