]> Savannah Git Hosting - gnulib.git/commit
sys_select: port better to OpenBSD 6.9
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 2 Oct 2021 21:11:55 +0000 (14:11 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 2 Oct 2021 21:13:14 +0000 (14:13 -0700)
commit9bcd248da1ef25b3ff3431248f53401e1123d74f
tree6b4b2fe34a76fafa23efde1dea7c6c9c6e0db35e
parent06cdc7dd5f95dac42dd49d40707ca21323fb306d
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>.
ChangeLog
lib/sys_select.in.h