stdio, unistd: guarantee ssize_t
authorEric Blake <ebb9@byu.net>
Wed, 6 Jan 2010 14:09:03 +0000 (07:09 -0700)
committerEric Blake <ebb9@byu.net>
Wed, 6 Jan 2010 14:10:59 +0000 (07:10 -0700)
commit60ad192b7032409b579ea059591cfd2558f57075
treeb9623681fa6de5915c1c35cf71b8dd850ba90226
parentf9eed4bc005946e46ce0888ba759f06442c4754e
stdio, unistd: guarantee ssize_t

Per POSIX 2008, ssize_t needs to exist whether or not we are
replacing functions that use it.  For now, we only guarantee
it if we know that the user expects a function that uses
that type, while waiting for glibc to catch up to POSIX.

* lib/unistd.in.h (includes): Ensure that types required by POSIX
2008 are exposed when needed.
* lib/stdio.in.h (includes): Likewise.
Reported by Ralf Wildenhues.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
lib/stdio.in.h
lib/unistd.in.h