summaryrefslogtreecommitdiff
path: root/emulators/qemu-devel/files/patch-net-tap-bsd.c
blob: 83239d4d560af61860c3944da1fd36d24c66acf5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- a/net/tap-bsd.c
+++ b/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