aboutsummaryrefslogtreecommitdiff
path: root/emulators/qemu/files/patch-net_tap-bsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/qemu/files/patch-net_tap-bsd.c')
-rw-r--r--emulators/qemu/files/patch-net_tap-bsd.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/emulators/qemu/files/patch-net_tap-bsd.c b/emulators/qemu/files/patch-net_tap-bsd.c
new file mode 100644
index 000000000000..8e027eda9e61
--- /dev/null
+++ b/emulators/qemu/files/patch-net_tap-bsd.c
@@ -0,0 +1,10 @@
+--- net/tap-bsd.c.orig 2015-11-03 20:01:34 UTC
++++ net/tap-bsd.c
+@@ -29,6 +29,7 @@
+
+ #if defined(__NetBSD__) || defined(__FreeBSD__)
+ #include <sys/ioctl.h>
++#include <sys/socket.h>
+ #include <net/if.h>
+ #include <net/if_tap.h>
+ #endif