summaryrefslogtreecommitdiff
path: root/libc/test/src/time/clock_gettime_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/test/src/time/clock_gettime_test.cpp')
-rw-r--r--libc/test/src/time/clock_gettime_test.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/test/src/time/clock_gettime_test.cpp b/libc/test/src/time/clock_gettime_test.cpp
index 43715c0265f1..d3edcae00cdd 100644
--- a/libc/test/src/time/clock_gettime_test.cpp
+++ b/libc/test/src/time/clock_gettime_test.cpp
@@ -6,12 +6,13 @@
//
//===----------------------------------------------------------------------===//
+#include "hdr/time_macros.h"
+#include "hdr/types/struct_timespec.h"
+#include "hdr/types/time_t.h"
#include "src/__support/macros/properties/architectures.h"
#include "src/time/clock_gettime.h"
#include "test/UnitTest/Test.h"
-#include <time.h>
-
TEST(LlvmLibcClockGetTime, RealTime) {
timespec tp;
int result;