Title: [229571] trunk/Source/WTF
Revision
229571
Author
utatane....@gmail.com
Date
2018-03-12 20:10:44 -0700 (Mon, 12 Mar 2018)

Log Message

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:

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (229570 => 229571)


--- trunk/Source/WTF/ChangeLog	2018-03-13 03:04:25 UTC (rev 229570)
+++ trunk/Source/WTF/ChangeLog	2018-03-13 03:10:44 UTC (rev 229571)
@@ -1,3 +1,13 @@
+2018-03-12  Yusuke Suzuki  <utatane....@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  <y...@yoav.ws>
 
         Runtime flag for link prefetch and remove link subresource.

Modified: trunk/Source/WTF/wtf/CurrentTime.cpp (229570 => 229571)


--- trunk/Source/WTF/wtf/CurrentTime.cpp	2018-03-13 03:04:25 UTC (rev 229570)
+++ trunk/Source/WTF/wtf/CurrentTime.cpp	2018-03-13 03:10:44 UTC (rev 229571)
@@ -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

Modified: trunk/Source/WTF/wtf/unix/CPUTimeUnix.cpp (229570 => 229571)


--- trunk/Source/WTF/wtf/unix/CPUTimeUnix.cpp	2018-03-13 03:04:25 UTC (rev 229570)
+++ trunk/Source/WTF/wtf/unix/CPUTimeUnix.cpp	2018-03-13 03:10:44 UTC (rev 229571)
@@ -28,6 +28,7 @@
 
 #include <sys/resource.h>
 #include <sys/time.h>
+#include <time.h>
 
 namespace WTF {
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to