]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Fix build for outdated systems
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 10 Sep 2018 10:48:48 +0000 (11:48 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 10 Sep 2018 10:49:03 +0000 (11:49 +0100)
src/libmime/mime_encoding.c

index a0abb1bb04467fad80b24e972771e21d107ec719..bc769ce9210dd05852bbce58728caf143ca7eb67 100644 (file)
@@ -23,7 +23,9 @@
 #include "message.h"
 #include <unicode/ucnv.h>
 #include <unicode/ucsdet.h>
+#if U_ICU_VERSION_MAJOR_NUM >= 44
 #include <unicode/unorm2.h>
+#endif
 #include <math.h>
 
 #define UTF8_CHARSET "UTF-8"