summaryrefslogtreecommitdiff
path: root/lib/sys_select.in.h
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2009-08-10 00:26:10 +0200
committerBruno Haible <bruno@clisp.org>2009-08-10 00:26:10 +0200
commitd93c1f1b00e1dea78b919c7fb7b6ddebecfcf3a5 (patch)
treeae6298c1a4e128438fa766ca6a84df6197a6330a /lib/sys_select.in.h
parent76ce13275858bb6a27d40f502d5679c01d2b8d41 (diff)
downloadgnulib-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.h6
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@