aboutsummaryrefslogtreecommitdiff
path: root/net/tap-bsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/tap-bsd.c')
-rw-r--r--net/tap-bsd.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/tap-bsd.c b/net/tap-bsd.c
index 3ad14bb2c8..ac84383f0f 100644
--- a/net/tap-bsd.c
+++ b/net/tap-bsd.c
@@ -23,7 +23,8 @@
*/
#include "net/tap.h"
-#incude "qemu-common.h"
+#include "qemu-common.h"
+#include "sysemu.h"
#ifdef __NetBSD__
#include <net/if_tap.h>
@@ -34,8 +35,9 @@
#else
#include <util.h>
#endif
-#elif defined (__GLIBC__) && defined (__FreeBSD_kernel__)
+#if defined (__GLIBC__) && defined (__FreeBSD_kernel__)
#include <freebsd/stdlib.h>
+#endif
#if defined(__OpenBSD__)
#include <util.h>