diff options
author | Brad King <brad.king@kitware.com> | 2022-04-26 12:39:49 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-04-26 16:01:06 (GMT) |
commit | 02ec5c4ad2008ce78b80d70afea1217f65d8112c (patch) | |
tree | fabc62caac1198aa820ee1a4673bbe6dc4bc4c52 /Tests | |
parent | 07a54b2bb24ca8158c64fc9ceb2db14803706a70 (diff) | |
download | CMake-02ec5c4ad2008ce78b80d70afea1217f65d8112c.zip CMake-02ec5c4ad2008ce78b80d70afea1217f65d8112c.tar.gz CMake-02ec5c4ad2008ce78b80d70afea1217f65d8112c.tar.bz2 |
Tests: Add missing include in sleep sources
Sources that use `atoi` need to include `<stdlib.h>`.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/CTestTestScheduler/sleep.c | 2 | ||||
-rw-r--r-- | Tests/CTestTestStopTime/sleep.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/Tests/CTestTestScheduler/sleep.c b/Tests/CTestTestScheduler/sleep.c index 327bff5..69a5797 100644 --- a/Tests/CTestTestScheduler/sleep.c +++ b/Tests/CTestTestScheduler/sleep.c @@ -1,3 +1,5 @@ +#include <stdlib.h> + #if defined(_WIN32) # include <windows.h> #else diff --git a/Tests/CTestTestStopTime/sleep.c b/Tests/CTestTestStopTime/sleep.c index b9b6e89..2d69f7f 100644 --- a/Tests/CTestTestStopTime/sleep.c +++ b/Tests/CTestTestStopTime/sleep.c @@ -1,3 +1,5 @@ +#include <stdlib.h> + #if defined(_WIN32) # include <windows.h> #else |