summaryrefslogtreecommitdiff
path: root/net/libdaq/files/patch-api_daq__common.h
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2019-09-12 11:48:17 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2019-09-12 11:48:17 +0000
commit9b600e08519634c9096c30bfd3400b133bbff14f (patch)
tree4f00c657787fe758e59873b180dad89c213f5f1d /net/libdaq/files/patch-api_daq__common.h
parentExplain why this patch currently only is part of emulators/wine and not (diff)
net/libdaq: Update version 3.0.0-alpha1=>3.0.0-alpha2
Diffstat (limited to 'net/libdaq/files/patch-api_daq__common.h')
-rw-r--r--net/libdaq/files/patch-api_daq__common.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/net/libdaq/files/patch-api_daq__common.h b/net/libdaq/files/patch-api_daq__common.h
new file mode 100644
index 000000000000..4268d0525d20
--- /dev/null
+++ b/net/libdaq/files/patch-api_daq__common.h
@@ -0,0 +1,12 @@
+--- api/daq_common.h.orig 2019-09-06 11:14:19 UTC
++++ api/daq_common.h
+@@ -30,6 +30,9 @@ extern "C" {
+ #include <sys/time.h>
+ #include <stdint.h>
+ #include <unistd.h>
++#if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
++#include <sys/socket.h>
++#endif
+
+ #ifndef DAQ_SO_PUBLIC
+ # ifdef HAVE_VISIBILITY