projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17e0b6a
)
qapi-types.h: Don't include qemu-common.h
author
Igor Mammedov
<imammedo@redhat.com>
Sun, 19 Aug 2012 23:39:37 +0000
(
01:39
+0200)
committer
Andreas Färber
<afaerber@suse.de>
Thu, 15 Nov 2012 01:46:20 +0000
(
02:46
+0100)
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>
scripts/qapi-types.py
patch
|
blob
|
history
diff --git
a/scripts/qapi-types.py
b/scripts/qapi-types.py
index 1b84834959a13c0d8e09abb0fb041af3e379b187..6bc239187463ead5797d51661ff017db7e334bb5 100644
(file)
--- a/
scripts/qapi-types.py
+++ b/
scripts/qapi-types.py
@@
-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)))