This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RFA: Include stdint.h in open_memstream.c


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]