mirror of
https://github.com/qemu/qemu.git
synced 2024-11-25 11:53:39 +08:00
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:
parent
ff2f990b82
commit
b68a8472c1
@ -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)))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user