With the introduction of waitid(2), <sys/wait.h> now includes
<sys/siginfo.h>. gnulib wraps various system headers and those
wrappers include further system headers. <signal.h> must include
<sys/siginfo.h>, but gnulib ended up inverting this order, so
siginfo_t was not yet defined in <signal.h>.
Fix from gnulib upstream.