Skip to content

Commit

Permalink
qapi-types.h: Don't include qemu-common.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Igor Mammedov authored and afaerber committed Nov 15, 2012
1 parent 17e0b6a commit da4fea0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/qapi-types.py
Expand Up @@ -273,7 +273,8 @@ def maybe_open(really, name, opt):
#ifndef %(guard)s
#define %(guard)s
#include "qemu-common.h"
#include <stdbool.h>
#include <stdint.h>
''',
guard=guardname(h_file)))
Expand Down

0 comments on commit da4fea0

Please sign in to comment.