Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
exitwhen: Fix compilation on FreeBSD
POSIX says WIFEXITED() and friends require <sys/wait.h>. Linux happens to leak those out other headers as well, but FreeBSD was stricter. Meanwhile, mingw lacks that header, so copy the paradigm used elsewhere for conditional inclusion.
- Loading branch information