diff options
Diffstat (limited to 'security/openvpn/files/patch-src__openvpn__syshead.h')
-rw-r--r-- | security/openvpn/files/patch-src__openvpn__syshead.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/security/openvpn/files/patch-src__openvpn__syshead.h b/security/openvpn/files/patch-src__openvpn__syshead.h new file mode 100644 index 000000000000..a30a7c95765f --- /dev/null +++ b/security/openvpn/files/patch-src__openvpn__syshead.h @@ -0,0 +1,16 @@ +Work around "missing" TCP_NODELAY, +obtained from: http://community.openvpn.net/openvpn/ticket/158 + +--- ./src/openvpn/syshead.h.orig 2012-11-22 13:07:51.000000000 +0100 ++++ ./src/openvpn/syshead.h 2013-01-11 21:30:07.000000000 +0100 +@@ -307,6 +307,10 @@ + #include <netinet/ip.h> + #endif + ++#ifdef HAVE_NETINET_TCP_H ++#include <netinet/tcp.h> ++#endif ++ + #ifdef HAVE_NET_IF_TUN_H + #include <net/if_tun.h> + #endif |