[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 2/6] qapi-types.h doesn't really need to include qem
From: |
Eduardo Habkost |
Subject: |
[Qemu-devel] [PATCH 2/6] qapi-types.h doesn't really need to include qemu-common.h |
Date: |
Wed, 3 Oct 2012 14:48:34 -0300 |
From: Igor Mammedov <address@hidden>
needed to prevent build breakage when CPU becomes a child of DeviceState
[ehabkost: include <stdbool.h> too]
Signed-off-by: Igor Mammedov <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>
---
scripts/qapi-types.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/scripts/qapi-types.py b/scripts/qapi-types.py
index 49ef569..6e0e6ba 100644
--- 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)))
--
1.7.11.4
- [Qemu-devel] [PATCH 0/6] qdev: handle global properties after all instance_init calls, Eduardo Habkost, 2012/10/03
- [Qemu-devel] [PATCH 5/6] qom: introduce post_init() function, Eduardo Habkost, 2012/10/03
- [Qemu-devel] [PATCH 2/6] qapi-types.h doesn't really need to include qemu-common.h,
Eduardo Habkost <=
- [Qemu-devel] [PATCH 6/6] qdev: set globals on post_init() function, Eduardo Habkost, 2012/10/03
- [Qemu-devel] [PATCH 4/6] tests: unit tests for qdev global-properties handling, Eduardo Habkost, 2012/10/03
- [Qemu-devel] [PATCH 3/6] qdev: separate core from the code used only by qemu-system-*, Eduardo Habkost, 2012/10/03
- [Qemu-devel] [PATCH 1/6] qdev: split up header so it can be used in cpu.h, Eduardo Habkost, 2012/10/03