Mercurial > gnulib
diff lib/sys_select.in.h @ 10541:142140ec3db8
strengthen self-containedness check for sys/select.h
2008-09-29 Paolo Bonzini <bonzini@gnu.org>
Bruno Haible <bruno@clisp.org>
* lib/sys_select.in.h: Include sys/time.h.
* m4/sys_select.h.m4: Test that struct timeval is fully defined.
* modules/sys_select: Depend on sys_time.
* tests/test-sys_select.c: Test that sys/select.h defines struct
timeval fully.
author | Paolo Bonzini <bonzini@gnu.org> |
---|---|
date | Mon, 29 Sep 2008 12:02:35 +0200 |
parents | affb655993ea |
children | ca7f9b88efc1 |
line wrap: on
line diff
--- a/lib/sys_select.in.h Mon Sep 29 12:08:01 2008 +0200 +++ b/lib/sys_select.in.h Mon Sep 29 12:02:35 2008 +0200 @@ -25,6 +25,10 @@ <sys/types.h>. */ # include <sys/types.h> +/* On OSF/1 4.0, <sys/select.h> provides only a forward declaration + of 'struct timeval', and no definition of this type.. */ +# include <sys/time.h> + /* The include_next requires a split double-inclusion guard. */ # @INCLUDE_NEXT@ @NEXT_SYS_SELECT_H@