aboutsummaryrefslogtreecommitdiff
path: root/libc/test/src/time/clock_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/test/src/time/clock_test.cpp')
-rw-r--r--libc/test/src/time/clock_test.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/test/src/time/clock_test.cpp b/libc/test/src/time/clock_test.cpp
index 05082aa..8d8d89d 100644
--- a/libc/test/src/time/clock_test.cpp
+++ b/libc/test/src/time/clock_test.cpp
@@ -6,11 +6,10 @@
//
//===----------------------------------------------------------------------===//
+#include "hdr/types/clock_t.h"
#include "src/time/clock.h"
#include "test/UnitTest/Test.h"
-#include <time.h>
-
TEST(LlvmLibcClockTest, SmokeTest) {
clock_t c1 = LIBC_NAMESPACE::clock();
ASSERT_GT(c1, clock_t(0));