Mercurial > gnulib
diff lib/sys_select.in.h @ 11797:1bc3a28e8169
Make <sys/select.h> really self-contained, also on Solaris 10.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Mon, 10 Aug 2009 00:26:10 +0200 |
parents | 2de4c4d41f01 |
children | e2d59f164e76 |
line wrap: on
line diff
--- a/lib/sys_select.in.h Sun Aug 09 19:58:07 2009 +0200 +++ b/lib/sys_select.in.h Mon Aug 10 00:26:10 2009 +0200 @@ -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@