As of glibc 2.34, our unistd.h wrapper's inclusion of stdlib.h exposes fragility in glibc's sys/wait.h and corresponding part of stdlib.h, leading to "error: use of undeclared identifier 'WNOHANG'" and similar errors when bootstrapping bmake. Work around this by wrapping sys/wait.h to force stdlib.h's inclusion first before it's implicitly included during the problematic window in sys/wait.h. MFC after: 1 week |
||
---|---|---|
.. | ||
fake_chflags | ||
include | ||
mkimg | ||
capsicum_stubs.c | ||
closefrom.c | ||
date.sh | ||
fake_sysctl.c | ||
fflags.c | ||
fgetln_fallback.c | ||
fgetwln_fallback.c | ||
hostname.sh | ||
local-link.h | ||
Makefile | ||
progname.c |