Only include icu_I18N.h if HAVE_ICU is defined
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 29 Oct 2007 08:20:16 +0000 (08:20 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 29 Oct 2007 08:20:16 +0000 (08:20 +0000)
util/index_types.c

index b8c4f9f..09e81d8 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: index_types.c,v 1.2 2007-10-25 19:25:00 adam Exp $
+/* $Id: index_types.c,v 1.3 2007-10-29 08:20:16 adam Exp $
    Copyright (C) 1995-2007
    Index Data ApS
 
@@ -31,7 +31,9 @@
 #include <string.h>
 
 #include "index_types.h"
+#if HAVE_ICU
 #include <yaz/icu_I18N.h>
+#endif
 #include <yaz/match_glob.h>
 #include <yaz/xmalloc.h>
 #include <yaz/wrbuf.h>