]> diplodocus.org Git - nmh/blobdiff - sbr/fmt_rfc2047.c
Removed comment about testing noiconv portion of get_param_value().
[nmh] / sbr / fmt_rfc2047.c
index 4537476563199916ecbc6aa4877ad7a309293294..8022c2f69939e3b39e58777bffa8c028a9560665 100644 (file)
@@ -6,6 +6,8 @@
  */
 
 #include "h/mh.h"
+#include "fmt_rfc2047.h"
+#include "check_charset.h"
 #include "h/utils.h"
 #ifdef HAVE_ICONV
 #  include <iconv.h>
@@ -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++) {