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 committed 2022-06-27 20:34:53 +03:00
1 parent 8eb8d16c19
commit 3f7ebf9354
1 file changed
+1
@@ -1,6 +1,7 @@
#if defined(_WIN32)
# include <windows.h>
#else
# include <sched.h>
# include <unistd.h>
#endif