summaryrefslogtreecommitdiff
path: root/net-mgmt/driftnet/files/patch-src_connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/driftnet/files/patch-src_connection.c')
-rw-r--r--net-mgmt/driftnet/files/patch-src_connection.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/net-mgmt/driftnet/files/patch-src_connection.c b/net-mgmt/driftnet/files/patch-src_connection.c
new file mode 100644
index 000000000000..5c27f6a813dc
--- /dev/null
+++ b/net-mgmt/driftnet/files/patch-src_connection.c
@@ -0,0 +1,13 @@
+--- src/connection.c.orig 2014-09-14 19:16:31 UTC
++++ src/connection.c
+@@ -19,6 +19,10 @@
+ #include <string.h>
+ #include <time.h>
+
++#ifdef __FreeBSD__
++#include <sys/types.h>
++#endif
++
+ #include "util.h"
+ #include "media.h"
+ #include "driftnet.h"