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-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87ebcbbb9a743d61f5c5e3a5274476aff8426139;p=pspp OSF/1 4.0 has a that lacks 'struct timeval'. --- diff --git a/ChangeLog b/ChangeLog index d56488efa8..07bbfacb43 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +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. diff --git a/doc/posix-headers/sys_select.texi b/doc/posix-headers/sys_select.texi index b005c300e4..6254288b61 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 38f9fa76c9..6bdd650831 100644 --- a/tests/test-sys_select.c +++ b/tests/test-sys_select.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include