diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-06-07 04:02:21 +0200 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2012-06-15 10:41:05 -0300 |
commit | 37003adf96c3e4d3de08247f0199055994d881de (patch) | |
tree | fcaf3349e81ae6109934c6d24ba7c454791d9a30 | |
parent | ebd063d15015d372b5ebd36cdd9fe212b0d5334d (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>
-rw-r--r-- | hmp.c | 1 | ||||
-rw-r--r-- | net/tap.c | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -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" |