diff options
Diffstat (limited to 'net/libdaq/files/patch-api_daq__common.h')
-rw-r--r-- | net/libdaq/files/patch-api_daq__common.h | 12 |
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 |