X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/ff2b7b715934b346b6121a2a434db116d3203663..fbd0002a92c15b70b8bfda4c48fff5ded89c7f04:/sbr/fmt_rfc2047.c diff --git a/sbr/fmt_rfc2047.c b/sbr/fmt_rfc2047.c index 45374765..8022c2f6 100644 --- a/sbr/fmt_rfc2047.c +++ b/sbr/fmt_rfc2047.c @@ -6,6 +6,8 @@ */ #include "h/mh.h" +#include "fmt_rfc2047.h" +#include "check_charset.h" #include "h/utils.h" #ifdef HAVE_ICONV # include @@ -91,7 +93,9 @@ decode_rfc2047 (char *str, char *dst, size_t dstlen) if (!strchr (str, '=')) return 0; +#ifdef HAVE_ICONV bool use_iconv = false; /* are we converting encoding with iconv? */ +#endif bool between_encodings = false; bool equals_pending = false; for (p = str, q = dst; *p; p++) {