summary refs log tree commit diff
path: root/iconv
diff options
context:
space:
mode:
Diffstat (limited to 'iconv')
-rw-r--r--iconv/iconv.c1
-rw-r--r--iconv/iconv_prog.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/iconv/iconv.c b/iconv/iconv.c
index 85a39e3fa5..ee16d3b091 100644
--- a/iconv/iconv.c
+++ b/iconv/iconv.c
@@ -19,6 +19,7 @@
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
+#include <stddef.h> /* for NULL */
 #include <errno.h>
 #include <iconv.h>
 
diff --git a/iconv/iconv_prog.c b/iconv/iconv_prog.c
index 78fa6234f4..c91c76f34f 100644
--- a/iconv/iconv_prog.c
+++ b/iconv/iconv_prog.c
@@ -30,6 +30,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
+#include <libintl.h>
 #ifdef _POSIX_MAPPED_FILES
 # include <sys/mman.h>
 #endif