From: Paolo Bonzini Date: Thu, 7 Jun 2012 02:02:21 +0000 (+0200) Subject: qmp: include monitor.h when needed X-Git-Tag: v1.2.0-rc0~268^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37003adf96c3e4d3de08247f0199055994d881de;p=thirdparty%2Fqemu.git qmp: include monitor.h when needed This is needed to get file descriptors from SCM_RIGHTS. Signed-off-by: Paolo Bonzini Signed-off-by: Luiz Capitulino --- diff --git a/hmp.c b/hmp.c index 2ce8cb9df17..b9cec1dafbe 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) { diff --git a/net/tap.c b/net/tap.c index 5ac4ba33432..17e91355ceb 100644 --- a/net/tap.c +++ b/net/tap.c @@ -34,6 +34,7 @@ #include #include "net.h" +#include "monitor.h" #include "sysemu.h" #include "qemu-char.h" #include "qemu-common.h"