summaryrefslogtreecommitdiff
path: root/package/vpnc/patches/patch-sysdep_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-08 12:58:54 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-08 12:58:54 +0100
commitf3e1c3cf993b0ba54afa0ff9552ffefd39828b23 (patch)
tree1f5d52b7dff4a5c60e17c8f0fd7f7412c946a0ee /package/vpnc/patches/patch-sysdep_c
parentd77656116191a166ed0477cf16830480a2406fc5 (diff)
parentd93c019f2cfdf53be59f02600cc25c547ba24edc (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/vpnc/patches/patch-sysdep_c')
-rw-r--r--package/vpnc/patches/patch-sysdep_c17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/vpnc/patches/patch-sysdep_c b/package/vpnc/patches/patch-sysdep_c
new file mode 100644
index 000000000..abd723471
--- /dev/null
+++ b/package/vpnc/patches/patch-sysdep_c
@@ -0,0 +1,17 @@
+--- vpnc-0.5.3.orig/sysdep.c 2008-11-19 21:36:12.000000000 +0100
++++ vpnc-0.5.3/sysdep.c 2013-12-23 14:15:07.000000000 +0100
+@@ -58,14 +58,10 @@
+
+ #if defined(__DragonFly__)
+ #include <net/tun/if_tun.h>
+-#elif defined(__linux__)
+-#include <linux/if_tun.h>
+ #elif defined(__APPLE__)
+ /* no header for tun */
+ #elif defined(__CYGWIN__)
+ #include "tap-win32.h"
+-#else
+-#include <net/if_tun.h>
+ #endif
+
+ #include "sysdep.h"