aboutsummaryrefslogblamecommitdiff
path: root/net/libdaq/files/patch-api_daq__common.h
blob: 4268d0525d20076594880dd04c7ba02708d6c0e1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
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