summaryrefslogtreecommitdiffstats
path: root/charset.h
diff options
context:
space:
mode:
authorLars Hecking <lhecking@users.sourceforge.net>2002-11-25 14:16:46 +0000
committerLars Hecking <lhecking@users.sourceforge.net>2002-11-25 14:16:46 +0000
commitaccd3163cc59cb411579c46f74035efe725f6807 (patch)
treeaa62369a9f135925ecfcb9f1736d18c416e101b2 /charset.h
parentfefa931a26df746c7e9864b7ee8cbec9a2ac2953 (diff)
The noiconv patch.
Diffstat (limited to 'charset.h')
-rw-r--r--charset.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/charset.h b/charset.h
index fa2f20e5..43f6f982 100644
--- a/charset.h
+++ b/charset.h
@@ -19,7 +19,20 @@
#ifndef _CHARSET_H
#define _CHARSET_H
+#ifdef HAVE_ICONV_H
#include <iconv.h>
+#endif
+
+#ifndef HAVE_ICONV_T_DEF
+typedef void *iconv_t;
+#endif
+
+#ifndef HAVE_ICONV
+#define ICONV_CONST /**/
+iconv_t iconv_open (const char *, const char *);
+size_t iconv (iconv_t, ICONV_CONST char **, size_t *, char **, size_t *);
+int iconv_close (iconv_t);
+#endif
int mutt_convert_string (char **, const char *, const char *, int);