X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/69819af4834557e60c33bb378e29cf3d4e8269f8..ec173fd2c:/sbr/fmt_rfc2047.c?ds=inline diff --git a/sbr/fmt_rfc2047.c b/sbr/fmt_rfc2047.c index d98b5008..8022c2f6 100644 --- a/sbr/fmt_rfc2047.c +++ b/sbr/fmt_rfc2047.c @@ -5,8 +5,10 @@ * complete copyright information. */ -#include -#include +#include "h/mh.h" +#include "fmt_rfc2047.h" +#include "check_charset.h" +#include "h/utils.h" #ifdef HAVE_ICONV # include #endif @@ -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++) {