]> git.proxmox.com Git - qemu.git/commitdiff
scripts: qapi-commands.py: qmp-commands.h: include qdict.h
authorLuiz Capitulino <lcapitulino@redhat.com>
Mon, 6 Aug 2012 14:35:22 +0000 (11:35 -0300)
committerLuiz 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

index 9eed40e18ae6096b21b59627ce91035ccd59d8b3..3c4678dbf1e65088b49f80dd6e0e6e4304db6b38 100644 (file)
@@ -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"
 
 ''',