summaryrefslogtreecommitdiffstats
path: root/openvpn.c
diff options
context:
space:
mode:
Diffstat (limited to 'openvpn.c')
-rw-r--r--openvpn.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/openvpn.c b/openvpn.c
index f089fb2..fb8afe6 100644
--- a/openvpn.c
+++ b/openvpn.c
@@ -27,6 +27,7 @@
#include "init.h"
#include "forward.h"
#include "multi.h"
+#include "win32.h"
#include "memdbg.h"
@@ -131,6 +132,9 @@ main (int argc, char *argv[])
/* initialize environmental variable store */
c.es = env_set_create (NULL);
+#ifdef WIN32
+ env_set_add_win32 (c.es);
+#endif
#ifdef ENABLE_MANAGEMENT
/* initialize management subsystem */