summaryrefslogtreecommitdiff
path: root/net-mgmt/driftnet/files/patch-src_layer3.c
blob: e2a86bc9974db0acc1ee838f18d63d2cf06a2597 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- src/layer3.c.orig	2018-09-15 19:08:05 UTC
+++ src/layer3.c
@@ -16,6 +16,13 @@
 #include <sys/socket.h>
 #endif
 
+#ifdef __FreeBSD__
+#include <sys/types.h>
+#include <netinet/in_systm.h>
+#include <netinet/in.h>
+#include <sys/socket.h>
+#endif
+
 #include <netinet/ip.h>
 #include <netinet/ip6.h>