From cb01bab6c00ce1b7ba86a9121fabef72b3c20923 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 26 Apr 2007 09:27:44 +0000 Subject: Phil Pennock: 23326: compilation without ICONV broken --- Src/utils.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Src') diff --git a/Src/utils.c b/Src/utils.c index 6041e092b..35915a2e7 100644 --- a/Src/utils.c +++ b/Src/utils.c @@ -4569,10 +4569,12 @@ getkeystring(char *s, int *len, int how, int *misc) int count; #else unsigned int wval; -# if defined(HAVE_NL_LANGINFO) && defined(CODESET) && defined(HAVE_ICONV) +# if defined(HAVE_NL_LANGINFO) && defined(CODESET) +# if defined(HAVE_ICONV) iconv_t cd; char inbuf[4]; size_t inbytes, outbytes; +# endif size_t count; # endif #endif -- cgit 1.4.1