about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--stdio-common/reg-printf.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 75b182ab73..de94a69f5f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2002-11-02  Roland McGrath  <roland@redhat.com>
+
+	* stdio-common/reg-printf.c: Include <stdlib.h>.
+
 2002-11-02  H.J. Lu  <hjl@gnu.org>
 
 	* sysdeps/unix/sysv/linux/mips/syscalls.list (s_execve): Set
diff --git a/stdio-common/reg-printf.c b/stdio-common/reg-printf.c
index c42040ec3a..99258bd99e 100644
--- a/stdio-common/reg-printf.c
+++ b/stdio-common/reg-printf.c
@@ -19,6 +19,7 @@
 #include <errno.h>
 #include <limits.h>
 #include <printf.h>
+#include <stdlib.h>
 
 /* Array of functions indexed by format character.  */
 libc_freeres_ptr (printf_arginfo_function **__printf_arginfo_table)