Eric Blake wrote: > Also seems like a reasonable solution to me. Thanks.
> > * lib/stdlib.in.h: Include<sys/wait.h> only when the 'system' module > > is present. > > It doesn't hurt to unconditionally include <sys/wait.h> when WEXITSTATUS > is undefined Sure it hurts. On mingw, <stdlib.h> does not define WEXITSTATUS, and <sys/wait.h> does not exist. $ ./show-portability sys/wait.h sys/wait.h: MISSING in mingw mingw64 > Missing a change to tests/test-stdlib.c to not test the system()-related > macros unless the GNULIB_SYSTEM indicator is set. Yes, you're right. I forgot that. Bruno
