From 27ce41db1ab7b1a386d1a37dda90d4e143a2fc2c Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 16 May 2011 13:38:20 +0200 Subject: [PATCH] yaz-icu: fix compilation without ICU (disabled) Move declaration inside YAZ_HAVE_ICU section. --- util/yaz-icu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 1.7.10.4