diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2004-09-24 09:13:11 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2004-09-24 09:13:11 +0000 |
commit | d163f2fc839178dc3b0959528d76724dd928f073 (patch) | |
tree | 61c5d9012fbf13547a8779d417ac3073b72c9764 /newlib | |
parent | 9ab64c4a445cd63346582229aa80427c14b3a318 (diff) | |
download | newlib-d163f2fc839178dc3b0959528d76724dd928f073.zip newlib-d163f2fc839178dc3b0959528d76724dd928f073.tar.gz newlib-d163f2fc839178dc3b0959528d76724dd928f073.tar.bz2 |
* libc/stdio/fread.c (fread): Include <malloc.h>.
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/ChangeLog | 4 | ||||
-rw-r--r-- | newlib/libc/stdio/fread.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 1d4de3c..cc65df9 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 9a074dd..fa38730 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 |