mirror of
https://git.freebsd.org/ports.git
synced 2025-05-29 01:16:28 -04:00
14 lines
371 B
C
14 lines
371 B
C
--- 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>
|