dovecot-2.2: lib-fts: Fixed compiling without libicu

dovecot at dovecot.org dovecot at dovecot.org
Tue Jun 2 19:22:25 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/75d7bf7560d3
changeset: 18806:75d7bf7560d3
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Jun 02 22:20:03 2015 +0300
description:
lib-fts: Fixed compiling without libicu

diffstat:

 src/lib-fts/fts-filter-lowercase.c |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r e3603730b2df -r 75d7bf7560d3 src/lib-fts/fts-filter-lowercase.c
--- a/src/lib-fts/fts-filter-lowercase.c	Tue Jun 02 22:16:46 2015 +0300
+++ b/src/lib-fts/fts-filter-lowercase.c	Tue Jun 02 22:20:03 2015 +0300
@@ -2,10 +2,13 @@
 
 #include "lib.h"
 #include "str.h"
-#include "fts-icu.h"
 #include "fts-language.h"
 #include "fts-filter-private.h"
 
+#ifdef HAVE_LIBICU
+#  include "fts-icu.h"
+#endif
+
 static void
 fts_filter_lowercase_destroy(struct fts_filter *filter)
 {


More information about the dovecot-cvs mailing list