ports/emulators/qemu-devel/files/patch-net-tap-bsd.c
Juergen Lock dbc8d4a8be - Update emulators/qemu-sbruno to latest github snapshot, fixing
the bsd-user targets on 8 and 9.
- Switch emulators/qemu-user-static to be slave of emulators/qemu-sbruno.
- Update emulators/qemu-devel to latest upstream release 2.2.0, now
  w/o bsd-user patches and knob again.  (Or at least until the
  patches are merged upstream...) [1]
- Add appropriate CONFLICTS to emulators/qemu too and bump its
  PORTREVISION.

Suggested by:	andrew [1] (for the benefit of testing aarch64 guests)
2015-01-06 19:47:28 +00:00

10 lines
212 B
C

--- 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