diff options
author | Bruno Haible <bruno@clisp.org> | 2009-08-10 00:26:10 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-08-10 00:26:10 +0200 |
commit | d93c1f1b00e1dea78b919c7fb7b6ddebecfcf3a5 (patch) | |
tree | ae6298c1a4e128438fa766ca6a84df6197a6330a /lib/sys_select.in.h | |
parent | 76ce13275858bb6a27d40f502d5679c01d2b8d41 (diff) | |
download | gnulib-d93c1f1b00e1dea78b919c7fb7b6ddebecfcf3a5.tar.gz |
Make <sys/select.h> really self-contained, also on Solaris 10.
Diffstat (limited to 'lib/sys_select.in.h')
-rw-r--r-- | lib/sys_select.in.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/sys_select.in.h b/lib/sys_select.in.h index 62cd1048be..1fb2d946f6 100644 --- a/lib/sys_select.in.h +++ b/lib/sys_select.in.h @@ -42,9 +42,13 @@ # 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.. */ + of 'struct timeval', and no definition of this type. */ # include <sys/time.h> +/* On Solaris 10, <sys/select.h> provides an FD_ZERO implementation + that relies on memset(), but without including <string.h>. */ +# include <string.h> + /* The include_next requires a split double-inclusion guard. */ # @INCLUDE_NEXT@ @NEXT_SYS_SELECT_H@ |