[PATCH] Include <stdint.h> when using SIZE_MAX or SSIZE_MAX.

Joseph S. Myers joseph@codesourcery.com
Sun Oct 21 22:35:00 GMT 2012


On Fri, 19 Oct 2012, maxim@codesourcery.com wrote:

> 	* libio/iogetdelim.c, sysdeps/posix/preadv.c, sysdeps/posix/pwritev.c
> 	* sysdeps/posix/readv.c, sysdeps/posix/writev.c, time/tzfile.c: Include
> 	stdint.h for SIZE_MAX or SSIZE_MAX.

stdint.h doesn't define SSIZE_MAX; limits.h does (but doesn't define 
SIZE_MAX).  You need to include the correct header for each macro you 
want.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list