summaryrefslogtreecommitdiff
path: root/emulators/qemu40/files/patch-net_tap-bsd.c
blob: 6d94c1bde1ca220f892ea00fb15c1f741e3397a8 (plain)
1
2
3
4
5
6
7
8
9
10
--- net/tap-bsd.c.orig	2019-04-23 18:14:46 UTC
+++ net/tap-bsd.c
@@ -31,6 +31,7 @@
 
 #if defined(__NetBSD__) || defined(__FreeBSD__)
 #include <sys/ioctl.h>
+#include <sys/socket.h>
 #include <net/if.h>
 #include <net/if_tap.h>
 #endif