projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adb2072
)
scripts: qapi-commands.py: qmp-commands.h: include qdict.h
author
Luiz Capitulino
<lcapitulino@redhat.com>
Mon, 6 Aug 2012 14:35:22 +0000
(11:35 -0300)
committer
Luiz Capitulino
<lcapitulino@redhat.com>
Mon, 13 Aug 2012 19:10:18 +0000
(16:10 -0300)
qmp-commands.h declares several functions that have arguments of
type QDict. However, qdict.h is not included. This will cause a
build breakage when a file includes qmp-commands.h but doesn't
include qdict.h.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
scripts/qapi-commands.py
patch
|
blob
|
history
diff --git
a/scripts/qapi-commands.py
b/scripts/qapi-commands.py
index 9eed40e18ae6096b21b59627ce91035ccd59d8b3..3c4678dbf1e65088b49f80dd6e0e6e4304db6b38 100644
(file)
--- a/
scripts/qapi-commands.py
+++ b/
scripts/qapi-commands.py
@@
-342,6
+342,7
@@
def gen_command_decl_prologue(header, guard, prefix=""):
#define %(guard)s
#include "%(prefix)sqapi-types.h"
+#include "qdict.h"
#include "error.h"
''',