summaryrefslogtreecommitdiffstats
path: root/common/asshelp.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2010-03-22 13:46:05 +0100
committerWerner Koch <wk@gnupg.org>2010-03-22 13:46:05 +0100
commite64038608be28c14ed72b0372529762953de898f (patch)
tree3847da576d4f2e6c542ce6737179a11afcc1a487 /common/asshelp.c
parentBuilds again for W32. (diff)
downloadgnupg2-e64038608be28c14ed72b0372529762953de898f.tar.xz
gnupg2-e64038608be28c14ed72b0372529762953de898f.zip
More chnages to use estream. Add a way to replace the standard
descriptors.
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;