aboutsummaryrefslogtreecommitdiff
path: root/syshead.h
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2005-12-12 19:46:10 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2005-12-12 19:46:10 +0000
commitf214bb2115994cc6b4123f3d06db0452f17f2e99 (patch)
tree7a09094e169f4097ceb033204c171eba2a51ae59 /syshead.h
parentFirst attempt at automatic proxy detection, (diff)
downloadopenvpn-f214bb2115994cc6b4123f3d06db0452f17f2e99.tar.xz
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
Diffstat (limited to 'syshead.h')
-rw-r--r--syshead.h8
1 files changed, 8 insertions, 0 deletions
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 <iphlpapi.h>
+#include <WinInet.h>
#endif
#ifdef HAVE_SYS_MMAN_H
@@ -436,6 +437,13 @@ socket_defined (const socket_descriptor_t sd)
#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?
*/
#if defined(USE_PKCS11) && defined(USE_CRYPTO) && defined(USE_SSL)