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:
Raul Tambre
2022-06-24 21:34:06 +03:00
parent 8eb8d16c19
commit 3f7ebf9354

View File

@@ -1,6 +1,7 @@
#if defined(_WIN32)
# include <windows.h>
#else
# include <sched.h>
# include <unistd.h>
#endif