summaryrefslogtreecommitdiff
path: root/package/vpnc/patches/patch-sysdep_c
diff options
context:
space:
mode:
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"