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:
Paolo Bonzini 2012-06-07 04:02:21 +02:00 committed by Luiz Capitulino
parent ebd063d150
commit 37003adf96
2 changed files with 2 additions and 0 deletions

1
hmp.c
View file

@ -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)
{

View file

@ -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"