diff --git a/net/tap-bsd.c b/net/tap-bsd.c index e51d06848df1be62ef63d63e7a8418ab3e26c9b2..3773d5da5e6b6e156f470944ee2b3f7df00da03f 100644 --- a/net/tap-bsd.c +++ b/net/tap-bsd.c @@ -25,6 +25,7 @@ #include "net/tap.h" #include "qemu-common.h" #include "sysemu.h" +#include "qemu-error.h" #ifdef __NetBSD__ #include diff --git a/net/tap-win32.c b/net/tap-win32.c index a5c2ce9e3246bf6af063c517004fa288f71af966..545bbbd128e83970f91de6a51205bc22ca41e893 100644 --- a/net/tap-win32.c +++ b/net/tap-win32.c @@ -31,6 +31,7 @@ #include "qemu-common.h" #include "net.h" #include "sysemu.h" +#include "qemu-error.h" #include #include #include