yaz-icu: fix compilation without ICU (disabled)
[yaz-moved-to-github.git] / util / yaz-icu.c
index 2833109..81ca933 100644 (file)
@@ -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))