summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-11-11 15:08:46 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-11-11 15:08:46 +0000
commit0d244e11569291f8eec9c4268510f72ae3cbfc2a (patch)
tree4c9b3de512929a270b2336c486b271adb0c5c1f4 /include
parent3c9be46f96e2ce6bdca9d268f7d477704259fe95 (diff)
downloadiconv-0d244e11569291f8eec9c4268510f72ae3cbfc2a.tar.gz
iconv-0d244e11569291f8eec9c4268510f72ae3cbfc2a.tar.bz2
Various fixes to make compilation with GCCSDK4 work.
Add an Iconv command (currently no code support) svn path=/trunk/iconv/; revision=5682
Diffstat (limited to 'include')
-rw-r--r--include/iconv/iconv.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/include/iconv/iconv.h b/include/iconv/iconv.h
index 9bb818b..86b7b95 100644
--- a/include/iconv/iconv.h
+++ b/include/iconv/iconv.h
@@ -1,8 +1,22 @@
#ifndef _LIB_ICONV_H
#define _LIB_ICONV_H
+#include <errno.h>
+
+#ifndef E2BIG
+#define E2BIG 7
+#endif
+
+#ifndef ENOMEM
+#define ENOMEM 12
+#endif
+
+#ifndef EINVAL
+#define EINVAL 22
+#endif
+
#ifndef EILSEQ
-#define EILSEQ ENOENT
+#define EILSEQ 90
#endif
#undef iconv_t