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:
Igor Mammedov 2012-08-20 01:39:37 +02:00 committed by Andreas Färber
parent 17e0b6ab08
commit da4fea066d
1 changed files with 2 additions and 1 deletions

View File

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