From f214bb2115994cc6b4123f3d06db0452f17f2e99 Mon Sep 17 00:00:00 2001 From: james Date: Mon, 12 Dec 2005 19:46:10 +0000 Subject: Added --auto-proxy directive to auto-detect HTTP or SOCKS proxy settings (currently Windows only). git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@850 e7ae566f-a301-0410-adde-c780ea21d3b5 --- syshead.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'syshead.h') diff --git a/syshead.h b/syshead.h index 6426241..bc6ad1b 100644 --- a/syshead.h +++ b/syshead.h @@ -266,6 +266,7 @@ #ifdef WIN32 #include +#include #endif #ifdef HAVE_SYS_MMAN_H @@ -435,6 +436,13 @@ socket_defined (const socket_descriptor_t sd) #define NTLM 0 #endif +/* + * Should we include code common to all proxy methods? + */ +#if defined(ENABLE_HTTP_PROXY) || defined(ENABLE_SOCKS) +#define GENERAL_PROXY_SUPPORT +#endif + /* * Do we have PKCS11 capability? */ -- cgit v1.2.3