summaryrefslogtreecommitdiff
path: root/Tests/CTestTestStopTime
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-04-26 08:39:49 -0400
committerBrad King <brad.king@kitware.com>2022-04-26 12:01:06 -0400
commit02ec5c4ad2008ce78b80d70afea1217f65d8112c (patch)
treefabc62caac1198aa820ee1a4673bbe6dc4bc4c52 /Tests/CTestTestStopTime
parent07a54b2bb24ca8158c64fc9ceb2db14803706a70 (diff)
downloadcmake-02ec5c4ad2008ce78b80d70afea1217f65d8112c.tar.gz
Tests: Add missing include in sleep sources
Sources that use `atoi` need to include `<stdlib.h>`.
Diffstat (limited to 'Tests/CTestTestStopTime')
-rw-r--r--Tests/CTestTestStopTime/sleep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/CTestTestStopTime/sleep.c b/Tests/CTestTestStopTime/sleep.c
index b9b6e897bc..2d69f7f5a8 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