about summary refs log tree commit diff
path: root/iconvdata
diff options
context:
space:
mode:
Diffstat (limited to 'iconvdata')
-rw-r--r--iconvdata/cp1258.c1
-rw-r--r--iconvdata/iso-2022-cn-ext.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/iconvdata/cp1258.c b/iconvdata/cp1258.c
index 3636e319cb..b4168d9781 100644
--- a/iconvdata/cp1258.c
+++ b/iconvdata/cp1258.c
@@ -22,6 +22,7 @@
 #include <dlfcn.h>
 #include <stdint.h>
 #include <assert.h>
+#include <stdlib.h>
 
 #define NELEMS(arr) (sizeof (arr) / sizeof (arr[0]))
 
diff --git a/iconvdata/iso-2022-cn-ext.c b/iconvdata/iso-2022-cn-ext.c
index 7c59e48eaa..9fd1d64b7d 100644
--- a/iconvdata/iso-2022-cn-ext.c
+++ b/iconvdata/iso-2022-cn-ext.c
@@ -1,5 +1,5 @@
 /* Conversion module for ISO-2022-CN-EXT.
-   Copyright (C) 2000 Free Software Foundation, Inc.
+   Copyright (C) 2000,01 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 2000.
 
@@ -21,6 +21,7 @@
 #include <dlfcn.h>
 #include <gconv.h>
 #include <stdint.h>
+#include <stdlib.h>
 #include <string.h>
 #include "gb2312.h"
 #include "iso-ir-165.h"