about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-11-03 00:16:49 +0000
committerRoland McGrath <roland@gnu.org>2002-11-03 00:16:49 +0000
commit379c9e03af51b7b98aec1f9b04f8f22dec5d4711 (patch)
tree58fbcf43088535fd8de6f1be8e5e2592babab22f
parentfc633b17ce4e3201ce86eb0b8163cac4a68e444b (diff)
downloadglibc-379c9e03af51b7b98aec1f9b04f8f22dec5d4711.tar.gz
glibc-379c9e03af51b7b98aec1f9b04f8f22dec5d4711.tar.xz
glibc-379c9e03af51b7b98aec1f9b04f8f22dec5d4711.zip
* stdio-common/reg-printf.c: Include <stdlib.h>.
-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)