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>
master
Luiz Capitulino 2012-07-27 10:56:33 -03:00
parent ff2f990b82
commit b68a8472c1
1 changed files with 2 additions and 1 deletions

View File

@ -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)))