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) { 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 #include "net.h" +#include "monitor.h" #include "sysemu.h" #include "qemu-char.h" #include "qemu-common.h"