Patchwork [16/24] qapi-types.h: don't include qemu-common.h

mail settings
Submitter Eduardo Habkost
Date Nov. 9, 2012, 1:08 p.m.
Message ID <>
Download mbox | patch
Permalink /patch/198046/
State New
Headers show


Eduardo Habkost - Nov. 9, 2012, 1:08 p.m.
From: Igor Mammedov <>

needed to prevent build breakage when CPU becomes a child of DeviceState

Signed-off-by: Igor Mammedov <>
[ehabkost: include <stdbool.h> too]
Signed-off-by: Eduardo Habkost <>
Yes, there is "changelog" data before the "---" mark, but I believe that
in this case they are important to indicate authorship and the scope of
the Signed-off-by lines (so they need to get into the git commit

Changes v1 (from Igor) -> v2 (from Eduardo):
 - Include <stdboo.h> too

Changes v2 -> v3 (from Eduardo):
 - Only commit description changes
 scripts/ | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


diff --git a/scripts/ b/scripts/
index 1b84834..6bc2391 100644
--- a/scripts/
+++ b/scripts/
@@ -273,7 +273,8 @@  fdecl.write(mcgen('''
 #ifndef %(guard)s
 #define %(guard)s
-#include "qemu-common.h"
+#include <stdbool.h>
+#include <stdint.h>