Commit b68a8472 authored by Luiz Capitulino's avatar Luiz Capitulino
Browse files

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: default avatarLuiz Capitulino <lcapitulino@redhat.com>
Reviewed-by: default avatarMarkus Armbruster <armbru@redhat.com>
parent ff2f990b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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)))