projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff2f990
)
qapi: qapi-types.h: don't include qapi/qapi-types-core.h
author
Luiz Capitulino
<lcapitulino@redhat.com>
Fri, 27 Jul 2012 13:56:33 +0000
(10:56 -0300)
committer
Luiz Capitulino
<lcapitulino@redhat.com>
Mon, 13 Aug 2012 16:20:58 +0000
(13:20 -0300)
qapi-types.h needs only qemu-common.h. Including qapi-types-core.h
causes problems when qerror.h or error.h includes qapi-types.h.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
scripts/qapi-types.py
patch
|
blob
|
history
diff --git
a/scripts/qapi-types.py
b/scripts/qapi-types.py
index 4a734f58d516dbe14cbd9cb224136e3c6f76daec..3ed9f048959d07396c07c23cf98a011d54fb117b 100644
(file)
--- a/
scripts/qapi-types.py
+++ b/
scripts/qapi-types.py
@@
-253,7
+253,8
@@
fdecl.write(mcgen('''
#ifndef %(guard)s
#define %(guard)s
-#include "qapi/qapi-types-core.h"
+#include "qemu-common.h"
+
''',
guard=guardname(h_file)))