* It's licensed under the GNU General Public License,
* please see the file GPL in the top level source directory.
*/
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-#include <stdlib.h>
-#include <stdio.h>
-#include <stdarg.h>
+#include <lib-lib/lib-lib.h>
#include <lib-mime/rfc3676.h>
ssize_t ibl, obl;
if (!bufi) {
- if (cd != (iconv_t) (-1)) {
+ if (cd != MUTT_ICONV_ERROR) {
ob = bufo, obl = sizeof (bufo);
my_iconv(cd, 0, 0, &ob, &obl);
if (ob != bufo)
return;
}
- if (cd == (iconv_t) (-1)) {
+ if (cd == MUTT_ICONV_ERROR) {
state_prefix_put (bufi, *l, s);
*l = 0;
return;