1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Fix build broken by r436625.

PR:		218036
This commit is contained in:
Cy Schubert 2017-03-29 01:49:02 +00:00
parent 19c3086dcc
commit 4cc053d17a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=437179

View File

@ -0,0 +1,14 @@
--- src/l2_packet/l2_packet_freebsd.c.orig 2014-06-04 13:26:14 UTC
+++ src/l2_packet/l2_packet_freebsd.c
@@ -8,7 +8,10 @@
*/
#include "includes.h"
-#if defined(__APPLE__) || defined(__GLIBC__)
+#if defined(__FreeBSD__) \
+ || defined(__DragonFly__) \
+ || defined(__APPLE__) \
+ || defined(__GLIBC__)
#include <net/bpf.h>
#endif /* __APPLE__ */
#include <pcap.h>