mirror of https://gitee.com/openkylin/qemu.git
qapi-types.h: Don't include qemu-common.h
Needed to prevent build breakage when CPUState becomes a child of DeviceState. Signed-off-by: Igor Mammedov <imammedo@redhat.com> [ehabkost: include <stdbool.h> too] Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
17e0b6ab08
commit
da4fea066d
|
@ -273,7 +273,8 @@ def maybe_open(really, name, opt):
|
||||||
#ifndef %(guard)s
|
#ifndef %(guard)s
|
||||||
#define %(guard)s
|
#define %(guard)s
|
||||||
|
|
||||||
#include "qemu-common.h"
|
#include <stdbool.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
''',
|
''',
|
||||||
guard=guardname(h_file)))
|
guard=guardname(h_file)))
|
||||||
|
|
Loading…
Reference in New Issue