Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CmdHelp: Include wait.h for exit() support.
Fixes the following errors when compiling on FreeBSD 12.1: [ 75%] Building CXX object src/commands/CMakeFiles/commands.dir/CmdHelp.cpp.o /home/user/timew-1.3.0/src/commands/CmdHelp.cpp:123:13: error: use of undeclared identifier 'WIFEXITED' return (WIFEXITED (ret)) ? WEXITSTATUS (ret) : -1; ^ /home/user/timew-1.3.0/src/commands/CmdHelp.cpp:123:32: error: use of undeclared identifier 'WEXITSTATUS' return (WIFEXITED (ret)) ? WEXITSTATUS (ret) : -1; ^ 2 errors generated. *** Error code 1 Thanks @kbcb Related to issue GothenburgBitFactory#258 Signed-off-by: Shaun Ruffell <[email protected]>
- Loading branch information