Unreviewed, include time.h
authorutatane.tea@gmail.com <utatane.tea@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 Mar 2018 03:10:44 +0000 (03:10 +0000)
committerutatane.tea@gmail.com <utatane.tea@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 Mar 2018 03:10:44 +0000 (03:10 +0000)
https://bugs.webkit.org/show_bug.cgi?id=183312

Attempt to fix oss-fuzz build.

* wtf/CurrentTime.cpp:
* wtf/unix/CPUTimeUnix.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@229571 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WTF/ChangeLog
Source/WTF/wtf/CurrentTime.cpp
Source/WTF/wtf/unix/CPUTimeUnix.cpp

index d1584d2..bfcf6b3 100644 (file)
@@ -1,3 +1,13 @@
+2018-03-12  Yusuke Suzuki  <utatane.tea@gmail.com>
+
+        Unreviewed, include time.h
+        https://bugs.webkit.org/show_bug.cgi?id=183312
+
+        Attempt to fix oss-fuzz build.
+
+        * wtf/CurrentTime.cpp:
+        * wtf/unix/CPUTimeUnix.cpp:
+
 2018-03-12  Yoav Weiss  <yoav@yoav.ws>
 
         Runtime flag for link prefetch and remove link subresource.
index 272fc46..7932dbf 100644 (file)
@@ -34,6 +34,7 @@
 #include "config.h"
 #include "MonotonicTime.h"
 #include "WallTime.h"
+#include <time.h>
 
 #if OS(DARWIN)
 #include <mach/mach.h>
@@ -49,7 +50,6 @@
 #include <windows.h>
 #include <math.h>
 #include <stdint.h>
-#include <time.h>
 #else
 #include <sys/time.h>
 #endif
index dcf2533..2799089 100644 (file)
@@ -28,6 +28,7 @@
 
 #include <sys/resource.h>
 #include <sys/time.h>
+#include <time.h>
 
 namespace WTF {