On 05/18/2011 09:18 AM, Eric Blake wrote:
> On 05/18/2011 07:37 AM, Sam Steingold wrote:
>> sys_uio.in.h includes <sys/types.h> without #ifdef HAVE_SYS_TYPES_H.
>> can this file be assumed to be present on all platforms including mingw?
> 
> gnulib/doc/posix-headers/sys_types.texi does not list any platform where
> it is missing.  Yes, you can assume this file is present everywhere.

Also from gnulib's README:

Because we assume a freestanding C89 compiler, Gnulib code can include
<float.h>, <limits.h>, <stdarg.h>, and <stddef.h> unconditionally.  It
can also assume the existence of <ctime.h>, <errno.h>, <fcntl.h>,
<locale.h>, <signal.h>, <stdio.h>, <stdlib.h>, <string.h>, and <time.h>.
Similarly, many modules include <sys/types.h> even though it's not even
in C99; that's OK since <sys/types.h> has been around nearly forever.

-- 
Eric Blake   ebl...@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to