stdio, unistd: guarantee ssize_t
authorEric Blake <ebb9@byu.net>
Wed, 6 Jan 2010 14:09:03 +0000 (07:09 -0700)
committerIan Beckwith <ianb@erislabs.net>
Sun, 10 Jan 2010 00:24:23 +0000 (00:24 +0000)
commit932e55d1623ed21e813f2faa4d1e0a8e510c9e7d
tree8e72ae8628ff15e344b4b4cfb3df5192b83ebcac
parent58b5448dee62071b0d505f4e010652420e76d101
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>
(cherry picked from commit 60ad192b7032409b579ea059591cfd2558f57075)
ChangeLog
lib/stdio.in.h
lib/unistd.in.h