From 1f54a75aaa81e71d1113a846afcd7992f2e8bd4e Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 31 Dec 2010 15:48:04 +0100 Subject: [PATCH] sys_select: Avoid warning about missing memset declaration on HP-UX 11. * lib/sys_select.in.h: On HP-UX, include also . --- ChangeLog | 5 +++++ lib/sys_select.in.h | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index 14cd98e04..885aa84bd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 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. * lib/sys_wait.in.h: Remove extern "C" { ... } group. diff --git a/lib/sys_select.in.h b/lib/sys_select.in.h index 77472bf5f..3422c2383 100644 --- 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 . */ -- 2.11.0