summaryrefslogtreecommitdiff
path: root/package/ptunnel/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-12-28 18:23:22 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-12-28 18:23:22 +0100
commit18b865b3c0008d5d392cf33660f8e2b98cbf154f (patch)
treec9143bf180b6e809b3d5770cf5debf72d93f3fa6 /package/ptunnel/patches
parent7051ba973da28f456659ced479c731a61a624a85 (diff)
fix for musl compile
Diffstat (limited to 'package/ptunnel/patches')
-rw-r--r--package/ptunnel/patches/patch-ptunnel_c11
-rw-r--r--package/ptunnel/patches/patch-ptunnel_h11
2 files changed, 22 insertions, 0 deletions
diff --git a/package/ptunnel/patches/patch-ptunnel_c b/package/ptunnel/patches/patch-ptunnel_c
new file mode 100644
index 000000000..40fd0a76f
--- /dev/null
+++ b/package/ptunnel/patches/patch-ptunnel_c
@@ -0,0 +1,11 @@
+--- ptunnel-0.61.orig/ptunnel.c 2005-07-13 11:57:27.000000000 +0200
++++ ptunnel-0.61/ptunnel.c 2013-12-28 18:21:38.000000000 +0100
+@@ -43,7 +43,7 @@
+ #include "ptunnel.h"
+ #include <pthread.h>
+ #include <stdarg.h>
+-#include <sys/unistd.h>
++#include <unistd.h>
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ #include <netinet/in.h>
diff --git a/package/ptunnel/patches/patch-ptunnel_h b/package/ptunnel/patches/patch-ptunnel_h
new file mode 100644
index 000000000..85d8caebb
--- /dev/null
+++ b/package/ptunnel/patches/patch-ptunnel_h
@@ -0,0 +1,11 @@
+--- ptunnel-0.61.orig/ptunnel.h 2005-07-13 11:57:27.000000000 +0200
++++ ptunnel-0.61/ptunnel.h 2013-12-28 18:22:22.000000000 +0100
+@@ -44,7 +44,7 @@
+ #define PING_TUNNEL_H
+
+ // Includes
+- #include <sys/unistd.h>
++ #include <unistd.h>
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ #include <netinet/in.h>