summaryrefslogtreecommitdiff
path: root/lib/sys_select.in.h
diff options
context:
space:
mode:
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@