RFA: Include stdint.h in open_memstream.c

Jeff Johnston jjohnstn@redhat.com
Wed Feb 25 09:18:00 GMT 2009


Yes, please go ahead.

-- Jeff J.

Kevin Buettner wrote:
> The recent addition of an int8_t member to struct memstream is causing
> breakage in one of my builds (due to int8_t not being defined).  The patch
> below fixes it.
>
> Okay to apply?
>
> Kevin
>
> 	* libc/stdio/open_memstream.c (stdint.h): Include.
>
> Index: newlib/libc/stdio/open_memstream.c
> ===================================================================
> RCS file: /cvs/src/src/newlib/libc/stdio/open_memstream.c,v
> retrieving revision 1.4
> diff -u -p -r1.4 open_memstream.c
> --- newlib/libc/stdio/open_memstream.c	18 Feb 2009 21:28:41 -0000	1.4
> +++ newlib/libc/stdio/open_memstream.c	24 Feb 2009 21:45:05 -0000
> @@ -66,6 +66,7 @@ Supporting OS subroutines required: <<sb
>  #include <errno.h>
>  #include <string.h>
>  #include <sys/lock.h>
> +#include <stdint.h>
>  #include "local.h"
>  
>  #ifndef __LARGE64_FILES
>
>   



More information about the Newlib mailing list