mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
qmp: include monitor.h when needed
This is needed to get file descriptors from SCM_RIGHTS. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
This commit is contained in:
parent
ebd063d150
commit
37003adf96
2 changed files with 2 additions and 0 deletions
1
hmp.c
1
hmp.c
|
@ -18,6 +18,7 @@
|
|||
#include "qemu-option.h"
|
||||
#include "qemu-timer.h"
|
||||
#include "qmp-commands.h"
|
||||
#include "monitor.h"
|
||||
|
||||
static void hmp_handle_error(Monitor *mon, Error **errp)
|
||||
{
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
#include <net/if.h>
|
||||
|
||||
#include "net.h"
|
||||
#include "monitor.h"
|
||||
#include "sysemu.h"
|
||||
#include "qemu-char.h"
|
||||
#include "qemu-common.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue