From: Bruno Haible Date: Sun, 28 Sep 2008 15:02:37 +0000 (+0200) Subject: OSF/1 4.0 has a that lacks 'struct timeval'. X-Git-Tag: v0.1~6948 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=87ebcbbb9a743d61f5c5e3a5274476aff8426139;p=gnulib.git OSF/1 4.0 has a that lacks 'struct timeval'. --- diff --git a/ChangeLog b/ChangeLog index d56488efa..07bbfacb4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2008-09-28 Bruno Haible + * doc/posix-headers/sys_select.texi: Mention 'struct timeval' problem. + * tests/test-sys_select.c: Include , for struct timeval. + Needed on OSF/1 4.0. + +2008-09-28 Bruno Haible + Override open more carefully. * lib/open.c (orig_open): New function. (rpl_open): Use orig_open instead of open. diff --git a/doc/posix-headers/sys_select.texi b/doc/posix-headers/sys_select.texi index b005c300e..6254288b6 100644 --- a/doc/posix-headers/sys_select.texi +++ b/doc/posix-headers/sys_select.texi @@ -17,4 +17,7 @@ This header file is not self-contained on some platforms: it requires Portability problems not fixed by Gnulib: @itemize +@item +This header file does not define @code{struct timeval} on some platforms: +OSF/1 4.0. @end itemize diff --git a/tests/test-sys_select.c b/tests/test-sys_select.c index 38f9fa76c..6bdd65083 100644 --- a/tests/test-sys_select.c +++ b/tests/test-sys_select.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include