aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/tap-bsd.c1
-rw-r--r--net/tap-win32.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/net/tap-bsd.c b/net/tap-bsd.c
index e51d06848d..3773d5da5e 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 <net/if_tap.h>
diff --git a/net/tap-win32.c b/net/tap-win32.c
index a5c2ce9e32..545bbbd128 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 <stdio.h>
#include <windows.h>
#include <winioctl.h>