aboutsummaryrefslogtreecommitdiff
path: root/iconv/gconv_builtin.c
diff options
context:
space:
mode:
Diffstat (limited to 'iconv/gconv_builtin.c')
-rw-r--r--iconv/gconv_builtin.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/iconv/gconv_builtin.c b/iconv/gconv_builtin.c
index d913579..6b14804 100644
--- a/iconv/gconv_builtin.c
+++ b/iconv/gconv_builtin.c
@@ -18,6 +18,7 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include <limits.h>
#include <string.h>
#include <gconv_int.h>
@@ -63,5 +64,6 @@ __gconv_get_builtin_trans (const char *name, struct gconv_step *step)
step->fct = map[cnt].fct;
step->init_fct = map[cnt].init;
step->end_fct = map[cnt].end;
+ step->counter = INT_MAX;
step->shlib_handle = NULL;
}