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>
This commit is contained in:
Luiz Capitulino 2012-07-27 10:56:33 -03:00
parent ff2f990b82
commit b68a8472c1

View File

@ -253,7 +253,8 @@ fdecl.write(mcgen('''
#ifndef %(guard)s #ifndef %(guard)s
#define %(guard)s #define %(guard)s
#include "qapi/qapi-types-core.h" #include "qemu-common.h"
''', ''',
guard=guardname(h_file))) guard=guardname(h_file)))