mirror of
https://github.com/qemu/qemu.git
synced 2024-11-25 11:53:39 +08:00
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 @@ fdecl.write(mcgen('''
|
||||
#ifndef %(guard)s
|
||||
#define %(guard)s
|
||||
|
||||
#include "qemu-common.h"
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
''',
|
||||
guard=guardname(h_file)))
|
||||
|
Loading…
Reference in New Issue
Block a user