ports/emulators/qemu30/files/patch-net_tap-bsd.c
Muhammad Moinur Rahman 8a9c1e21fb emulators/qemu30: QEMU CPU Emulator
- Specific to version 3.0 in preperation for upgrading qemu to 3.1.X
- USES=gl is not always needed [1]

PR:             238364 [1]
Submitted by:   pizzamig [1]
2019-08-06 09:31:00 +00:00

10 lines
237 B
C

--- net/tap-bsd.c.orig 2019-04-12 03:28:28 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