From: Luiz Capitulino Date: Mon, 6 Aug 2012 14:35:22 +0000 (-0300) Subject: scripts: qapi-commands.py: qmp-commands.h: include qdict.h X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=08b76b9fc3f0c25f062216955411aefaefabff89;p=qemu.git scripts: qapi-commands.py: qmp-commands.h: include qdict.h 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 --- diff --git a/scripts/qapi-commands.py b/scripts/qapi-commands.py index 9eed40e18a..3c4678dbf1 100644 --- 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" ''',