This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Include <stdint.h> when using SIZE_MAX or SSIZE_MAX.
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