From: Adam Dickmeiss Date: Mon, 16 May 2011 11:38:20 +0000 (+0200) Subject: yaz-icu: fix compilation without ICU (disabled) X-Git-Tag: v4.2.0~11 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=27ce41db1ab7b1a386d1a37dda90d4e143a2fc2c;p=yaz-moved-to-github.git yaz-icu: fix compilation without ICU (disabled) Move declaration inside YAZ_HAVE_ICU section. --- diff --git a/util/yaz-icu.c b/util/yaz-icu.c index 2833109..81ca933 100644 --- a/util/yaz-icu.c +++ b/util/yaz-icu.c @@ -537,9 +537,9 @@ static void process_text_file(struct config_t *p_config) int main(int argc, char **argv) { +#if YAZ_HAVE_ICU struct config_t config; -#if YAZ_HAVE_ICU read_params(argc, argv, &config); if (config.conffile && strlen(config.conffile))