Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2004-09-24 13:13:11 +0400
committerCorinna Vinschen <corinna@vinschen.de>2004-09-24 13:13:11 +0400
commitd163f2fc839178dc3b0959528d76724dd928f073 (patch)
tree61c5d9012fbf13547a8779d417ac3073b72c9764 /newlib
parent9ab64c4a445cd63346582229aa80427c14b3a318 (diff)
* libc/stdio/fread.c (fread): Include <malloc.h>.
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libc/stdio/fread.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 1d4de3c9f..cc65df9b3 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,7 @@
+2004-09-24 Corinna Vinschen <corinna@vinschen.de>
+
+ * libc/stdio/fread.c (fread): Include <malloc.h>.
+
2004-09-22 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdio/fread.c (fread): For non-space-optimized case,
diff --git a/newlib/libc/stdio/fread.c b/newlib/libc/stdio/fread.c
index 9a074dd4f..fa3873075 100644
--- a/newlib/libc/stdio/fread.c
+++ b/newlib/libc/stdio/fread.c
@@ -58,6 +58,7 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
#include <_ansi.h>
#include <stdio.h>
#include <string.h>
+#include <malloc.h>
#include "local.h"
#ifdef __SCLE