Index: src/base/platform/time.h |
diff --git a/src/base/platform/time.h b/src/base/platform/time.h |
index 9dfa47d4e5f34c2516e561f6b5827ec2466a4811..887664e7ba5bd78268438baf6f8adb4da80287cf 100644 |
--- a/src/base/platform/time.h |
+++ b/src/base/platform/time.h |
@@ -5,7 +5,8 @@ |
#ifndef V8_BASE_PLATFORM_TIME_H_ |
#define V8_BASE_PLATFORM_TIME_H_ |
-#include <time.h> |
+#include <ctime> |
+#include <iosfwd> |
#include <limits> |
#include "src/base/macros.h" |
@@ -280,6 +281,8 @@ class Time FINAL { |
int64_t us_; |
}; |
+std::ostream& operator<<(std::ostream&, const Time&); |
+ |
inline Time operator+(const TimeDelta& delta, const Time& time) { |
return time + delta; |
} |