summaryrefslogtreecommitdiffstats
path: root/net/tap.c
diff options
context:
space:
mode:
authorPaolo Bonzini2012-06-07 04:02:21 +0200
committerLuiz Capitulino2012-06-15 15:41:05 +0200
commit37003adf96c3e4d3de08247f0199055994d881de (patch)
treefcaf3349e81ae6109934c6d24ba7c454791d9a30 /net/tap.c
parentkvm: add missing include files (diff)
downloadqemu-37003adf96c3e4d3de08247f0199055994d881de.tar.gz
qemu-37003adf96c3e4d3de08247f0199055994d881de.tar.xz
qemu-37003adf96c3e4d3de08247f0199055994d881de.zip
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"