+2021-10-02 Paul Eggert <eggert@cs.ucla.edu>
+
+ sys_select: port better to OpenBSD 6.9
+ OpenBSD 6.9’s <sys/time.h> includes <sys/select.h> which then
+ includes <signal.h>, which caused coreutils/lib/nproc.c compiles
+ to fail with "/usr/include/signal.h:57: warning: 'struct
+ sigaction' declared inside parameter list". Fix this.
+ * lib/sys_select.in.h [__OpenBSD__]: Simply delegate to the system
+ header if being included from <sys/time.h>.
+
2021-09-22 Bruno Haible <bruno@clisp.org>
doc: Fix outdated statement about Spanish collation.
/* On OSF/1 and Solaris 2.6, <sys/types.h> and <sys/time.h>
both include <sys/select.h>.
- On Cygwin, <sys/time.h> includes <sys/select.h>.
+ On Cygwin and OpenBSD, <sys/time.h> includes <sys/select.h>.
Simply delegate to the system's header in this case. */
#if (@HAVE_SYS_SELECT_H@ \
&& !defined _GL_SYS_SELECT_H_REDIRECT_FROM_SYS_TYPES_H \
|| (!defined _GL_SYS_SELECT_H_REDIRECT_FROM_SYS_TIME_H \
&& ((defined __osf__ && defined _SYS_TIME_H_ \
&& defined _OSF_SOURCE) \
+ || (defined __OpenBSD__ && defined _SYS_TIME_H_) \
|| (defined __sun && defined _SYS_TIME_H \
&& (! (defined _XOPEN_SOURCE \
|| defined _POSIX_C_SOURCE) \