aboutsummaryrefslogtreecommitdiffstats
path: root/common/asshelp.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/asshelp.c')
-rw-r--r--common/asshelp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/asshelp.c b/common/asshelp.c
index f9878f3b3..0f744ad00 100644
--- a/common/asshelp.c
+++ b/common/asshelp.c
@@ -103,7 +103,9 @@ send_pinentry_environment (assuan_context_t ctx,
{
gpg_error_t err = 0;
+#if defined(HAVE_SETLOCALE)
char *old_lc = NULL;
+#endif
char *dft_lc = NULL;
const char *dft_ttyname;
int iterator;