| Submitter | Luiz Capitulino |
|---|---|
| Date | Aug. 13, 2012, 7:48 p.m. |
| Message ID | <1344887349-13041-37-git-send-email-lcapitulino@redhat.com> |
| Download | mbox | patch |
| Permalink | /patch/177081/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/scripts/qapi-commands.py b/scripts/qapi-commands.py index 9eed40e..3c4678d 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" ''',
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 | 1 + 1 file changed, 1 insertion(+)