qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [RFC 3/8] qapi-types.h doesn't really need to include qemu-


From: Eduardo Habkost
Subject: [Qemu-devel] [RFC 3/8] qapi-types.h doesn't really need to include qemu-common.h
Date: Tue, 21 Aug 2012 12:42:57 -0300

From: Igor Mammedov <address@hidden>

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

Signed-off-by: Igor Mammedov <address@hidden>
---
 scripts/qapi-types.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/qapi-types.py b/scripts/qapi-types.py
index cf601ae..f34addb 100644
--- a/scripts/qapi-types.py
+++ b/scripts/qapi-types.py
@@ -263,7 +263,7 @@ fdecl.write(mcgen('''
 #ifndef %(guard)s
 #define %(guard)s
 
-#include "qemu-common.h"
+#include <stdbool.h>
 
 ''',
                   guard=guardname(h_file)))
-- 
1.7.11.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]