mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-08 14:50:10 -06:00
RunCMake/CTestTimeout: Include sched.h for pid_t
ISO C modes in Clang don't enable modern POSIX standards. Include sched.h to define pid_t in such modes.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#if defined(_WIN32)
|
||||
# include <windows.h>
|
||||
#else
|
||||
# include <sched.h>
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user