* lib/sys_uio.in.h: Include <sys/types.h> before <sys/uio.h>.
* doc/posix-headers/sys_uio.texi: Mention the OpenBSD problem.
+2011-04-30 Bruno Haible <bruno@clisp.org>
+
+ sys_uio: Make <sys/uio.h> self-contained.
+ * lib/sys_uio.in.h: Include <sys/types.h> before <sys/uio.h>.
+ * doc/posix-headers/sys_uio.texi: Mention the OpenBSD problem.
+
2011-04-30 Bruno Haible <bruno@clisp.org>
sys_socket: Ensure 'struct iovec' definition.
@item
This header file is missing on some platforms:
mingw.
+@item
+This header file is not self-contained (it requires @code{<sys/types.h>} to be
+included first) on some platforms:
+OpenBSD 4.4.
@end itemize
Portability problems not fixed by Gnulib:
#if @HAVE_SYS_UIO_H@
+/* On OpenBSD 4.4, <sys/uio.h> assumes prior inclusion of <sys/types.h>. */
+# include <sys/types.h>
+
/* The include_next requires a split double-inclusion guard. */
# @INCLUDE_NEXT@ @NEXT_SYS_UIO_H@