aboutsummaryrefslogtreecommitdiff
path: root/hmp.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-06-07 04:02:21 +0200
committerLuiz Capitulino <lcapitulino@redhat.com>2012-06-15 10:41:05 -0300
commit37003adf96c3e4d3de08247f0199055994d881de (patch)
treefcaf3349e81ae6109934c6d24ba7c454791d9a30 /hmp.c
parentebd063d15015d372b5ebd36cdd9fe212b0d5334d (diff)
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>
Diffstat (limited to 'hmp.c')
-rw-r--r--hmp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hmp.c b/hmp.c
index 2ce8cb9df1..b9cec1dafb 100644
--- a/hmp.c
+++ b/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)
{