Friday, October 28, 2022

Re: lftp vs sys/wait.h including sys/siginfo.h

I found and committed the gnulib upstream fix.

https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=9bcd248da1ef25b3ff3431248f53401e1123d74f

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>.

--
Christian "naddy" Weisgerber naddy@mips.inka.de

No comments:

Post a Comment