mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 12:23:53 -06:00
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 <lcapitulino@redhat.com>
This commit is contained in:
parent
adb2072ed0
commit
08b76b9fc3
1 changed files with 1 additions and 0 deletions
|
@ -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"
|
||||
|
||||
''',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue