diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-09-10 11:48:48 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-09-10 11:49:03 +0100 |
commit | a5e5bf7f05fb585f6889e84c7cccf1e67338fd3b (patch) | |
tree | c68343b7d7d02d7b260c50c8b50797cdad62ca29 | |
parent | 819de7eed4997268ebeb26809e2178f958f504f0 (diff) | |
download | rspamd-a5e5bf7f05fb585f6889e84c7cccf1e67338fd3b.tar.gz rspamd-a5e5bf7f05fb585f6889e84c7cccf1e67338fd3b.zip |
[Minor] Fix build for outdated systems
-rw-r--r-- | src/libmime/mime_encoding.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libmime/mime_encoding.c b/src/libmime/mime_encoding.c index a0abb1bb0..bc769ce92 100644 --- a/src/libmime/mime_encoding.c +++ b/src/libmime/mime_encoding.c @@ -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" |