]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Fix compile issues when using --enable-small and --disable-ssl/--disable-crypto
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Wed, 27 Apr 2011 16:43:50 +0000 (18:43 +0200)
committerDavid Sommerseth <dazo@users.sourceforge.net>
Wed, 27 Apr 2011 16:43:50 +0000 (18:43 +0200)
The tmp_dir string is required in the options struct regardless of options
so spin it out of #if conditionals.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: David Sommerseth <dazo@users.sourceforge.net>
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
options.h

index a9c6a94db84e626c502975ffb703a7d08625fe8a..8a515022be614a9e9934ac0d013a448c461bc259 100644 (file)
--- a/options.h
+++ b/options.h
@@ -369,6 +369,8 @@ struct options
   struct plugin_option_list *plugin_list;
 #endif
 
+  const char *tmp_dir;
+
 #if P2MP
 
 #if P2MP_SERVER
@@ -409,7 +411,6 @@ struct options
   const char *client_connect_script;
   const char *client_disconnect_script;
   const char *learn_address_script;
-  const char *tmp_dir;
   const char *client_config_dir;
   bool ccd_exclusive;
   bool disable;