From 60fdd9b01deab10f9a62ee9235ad9ec16873b5d5 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Wed, 27 Apr 2011 18:43:50 +0200 Subject: [PATCH] Fix compile issues when using --enable-small and --disable-ssl/--disable-crypto 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 Acked-by: David Sommerseth Signed-off-by: David Sommerseth (cherry picked from commit b70d99fb617350b252c8bde2f1f2d81d3f5b7955) --- options.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/options.h b/options.h index 7f4c0cd1..dd493557 100644 --- a/options.h +++ b/options.h @@ -355,6 +355,8 @@ struct options struct plugin_option_list *plugin_list; #endif + const char *tmp_dir; + #if P2MP #if P2MP_SERVER @@ -387,7 +389,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;