summaryrefslogtreecommitdiff
path: root/libc/test/src/time/nanosleep_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/test/src/time/nanosleep_test.cpp')
-rw-r--r--libc/test/src/time/nanosleep_test.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/test/src/time/nanosleep_test.cpp b/libc/test/src/time/nanosleep_test.cpp
index 2a6eea4d5e16..d4f98e29bd98 100644
--- a/libc/test/src/time/nanosleep_test.cpp
+++ b/libc/test/src/time/nanosleep_test.cpp
@@ -6,8 +6,7 @@
//
//===----------------------------------------------------------------------===//
-#include <time.h>
-
+#include "hdr/types/struct_timespec.h"
#include "src/errno/libc_errno.h"
#include "src/time/nanosleep.h"
#include "test/UnitTest/ErrnoSetterMatcher.h"