aboutsummaryrefslogtreecommitdiff
path: root/net/tap.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 /net/tap.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 'net/tap.c')
-rw-r--r--net/tap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/tap.c b/net/tap.c
index 5ac4ba3343..17e91355ce 100644
--- a/net/tap.c
+++ b/net/tap.c
@@ -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"