# HG changeset patch # User Bruno Haible # Date 1293806884 -3600 # Node ID a9b8cdb01be3395aa95d8b859712cd2d03297cac # Parent 3d7ddb7340dd499aa5af1cb6edf78f6e41cbd79c sys_select: Avoid warning about missing memset declaration on HP-UX 11. * lib/sys_select.in.h: On HP-UX, include also . diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-12-31 Bruno Haible + + sys_select: Avoid warning about missing memset declaration on HP-UX 11. + * lib/sys_select.in.h: On HP-UX, include also . + 2010-12-31 Bruno Haible waitpid: Fix link error in C++ mode. diff --git a/lib/sys_select.in.h b/lib/sys_select.in.h --- a/lib/sys_select.in.h +++ b/lib/sys_select.in.h @@ -72,6 +72,11 @@ /* Get the 'struct timeval' and 'fd_set' types and the FD_* macros on most platforms. */ # include +/* On HP-UX 11, provides an FD_ZERO implementation + that relies on memset(), but without including . */ +# if defined __hpux +# include +# endif /* On native Windows platforms: Get the 'fd_set' type. Also, gnulib's redefines select so as to hide the declaration from . */