Index: test/cctest/test-time.cc |
diff --git a/test/cctest/test-time.cc b/test/cctest/test-time.cc |
index 28d647a5c1865d59a98ee9f8b67d736c90eaae42..f7329b5dadd4acc05b3730043bb49d2902c1163a 100644 |
--- a/test/cctest/test-time.cc |
+++ b/test/cctest/test-time.cc |
@@ -29,6 +29,10 @@ |
#include "v8.h" |
+#if V8_OS_POSIX |
+#include <sys/time.h> // NOLINT |
+#endif |
+ |
#include "cctest.h" |
#if V8_OS_WIN |
#include "win32-headers.h" |