aboutsummaryrefslogtreecommitdiffstats
path: root/main/daq/fix-includes.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-10-10 08:52:51 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-10-10 08:52:51 +0000
commitca6ee3c388db2d91fbcf23d69a599117ea23f604 (patch)
tree20f86963ad45772f295341354bd5a34f43a4799e /main/daq/fix-includes.patch
parent060ff41739cc6eb55afef1dc228ddec6bab79560 (diff)
downloadaports-ca6ee3c388db2d91fbcf23d69a599117ea23f604.tar.bz2
aports-ca6ee3c388db2d91fbcf23d69a599117ea23f604.tar.xz
main/daq: fix musl build
Diffstat (limited to 'main/daq/fix-includes.patch')
-rw-r--r--main/daq/fix-includes.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/main/daq/fix-includes.patch b/main/daq/fix-includes.patch
new file mode 100644
index 0000000000..924f49c533
--- /dev/null
+++ b/main/daq/fix-includes.patch
@@ -0,0 +1,33 @@
+--- daq-2.0.1.orig/os-daq-modules/daq_ipfw.c
++++ daq-2.0.1/os-daq-modules/daq_ipfw.c
+@@ -26,7 +26,7 @@
+
+ #include <sys/types.h>
+ #include <sys/time.h>
+-#include <sys/unistd.h>
++#include <unistd.h>
+
+ #include <netinet/in.h>
+ #include <sys/socket.h>
+--- daq-2.0.1.orig/os-daq-modules/daq_ipq.c
++++ daq-2.0.1/os-daq-modules/daq_ipq.c
+@@ -27,7 +27,7 @@
+
+ #include <sys/types.h>
+ #include <sys/time.h>
+-#include <sys/unistd.h>
++#include <unistd.h>
+
+ #include <netinet/ip.h>
+
+--- daq-2.0.1.orig/os-daq-modules/daq_nfq.c
++++ daq-2.0.1/os-daq-modules/daq_nfq.c
+@@ -27,7 +27,7 @@
+
+ #include <sys/types.h>
+ #include <sys/time.h>
+-#include <sys/unistd.h>
++#include <unistd.h>
+
+ #include <netinet/ip.h>
+