summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libc/stdio/local.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index cc65df9b3..b4de087e8 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,7 @@
+2004-09-24 Jeff Johnston <jjohnstn@redhat.com>
+
+ * libc/stdio/local.h: Include <stdlib.h>.
+
2004-09-24 Corinna Vinschen <corinna@vinschen.de>
* libc/stdio/fread.c (fread): Include <malloc.h>.
diff --git a/newlib/libc/stdio/local.h b/newlib/libc/stdio/local.h
index e62f3418d..c4176eb2a 100644
--- a/newlib/libc/stdio/local.h
+++ b/newlib/libc/stdio/local.h
@@ -26,6 +26,7 @@
#include <reent.h>
#include <stdarg.h>
#include <reent.h>
+#include <stdlib.h>
#include <unistd.h>
extern int _EXFUN(__svfscanf_r,(struct _reent *,FILE *, _CONST char *,va_list));