mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-04 04:03:22 +03: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 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
|
||||
|
||||
|
||||
Reference in new issue
Block a user