Diff
Modified: trunk/Source/_javascript_Core/API/JSRemoteInspector.h (218839 => 218840)
--- trunk/Source/_javascript_Core/API/JSRemoteInspector.h 2017-06-27 21:01:54 UTC (rev 218839)
+++ trunk/Source/_javascript_Core/API/JSRemoteInspector.h 2017-06-27 21:06:04 UTC (rev 218840)
@@ -29,6 +29,8 @@
#include <_javascript_Core/JSBase.h>
#include <_javascript_Core/WebKitAvailability.h>
+#include <unistd.h>
+
#ifdef __cplusplus
extern "C" {
#endif
Modified: trunk/Source/_javascript_Core/API/tests/GlobalContextWithFinalizerTest.cpp (218839 => 218840)
--- trunk/Source/_javascript_Core/API/tests/GlobalContextWithFinalizerTest.cpp 2017-06-27 21:01:54 UTC (rev 218839)
+++ trunk/Source/_javascript_Core/API/tests/GlobalContextWithFinalizerTest.cpp 2017-06-27 21:06:04 UTC (rev 218840)
@@ -27,6 +27,7 @@
#include "GlobalContextWithFinalizerTest.h"
#include "_javascript_.h"
+#include <stdio.h>
static bool failed = true;
Modified: trunk/Source/_javascript_Core/API/tests/TypedArrayCTest.cpp (218839 => 218840)
--- trunk/Source/_javascript_Core/API/tests/TypedArrayCTest.cpp 2017-06-27 21:01:54 UTC (rev 218839)
+++ trunk/Source/_javascript_Core/API/tests/TypedArrayCTest.cpp 2017-06-27 21:06:04 UTC (rev 218840)
@@ -29,6 +29,7 @@
#include "_javascript_.h"
#include <limits.h>
#include <math.h>
+#include <stdio.h>
#include <wtf/Assertions.h>
extern "C" void JSSynchronousGarbageCollectForDebugging(JSContextRef);
Modified: trunk/Source/_javascript_Core/ChangeLog (218839 => 218840)
--- trunk/Source/_javascript_Core/ChangeLog 2017-06-27 21:01:54 UTC (rev 218839)
+++ trunk/Source/_javascript_Core/ChangeLog 2017-06-27 21:06:04 UTC (rev 218840)
@@ -1,3 +1,14 @@
+2017-06-27 Ting-Wei Lan <lant...@gmail.com>
+
+ Add missing includes to fix compilation error on FreeBSD
+ https://bugs.webkit.org/show_bug.cgi?id=172919
+
+ Reviewed by Mark Lam.
+
+ * API/JSRemoteInspector.h:
+ * API/tests/GlobalContextWithFinalizerTest.cpp:
+ * API/tests/TypedArrayCTest.cpp:
+
2017-06-27 Joseph Pecoraro <pecor...@apple.com>
Web Inspector: Crash generating object preview for ArrayIterator
Modified: trunk/Source/WebCore/ChangeLog (218839 => 218840)
--- trunk/Source/WebCore/ChangeLog 2017-06-27 21:01:54 UTC (rev 218839)
+++ trunk/Source/WebCore/ChangeLog 2017-06-27 21:06:04 UTC (rev 218840)
@@ -1,3 +1,15 @@
+2017-06-27 Ting-Wei Lan <lant...@gmail.com>
+
+ Add missing includes to fix compilation error on FreeBSD
+ https://bugs.webkit.org/show_bug.cgi?id=172919
+
+ Reviewed by Mark Lam.
+
+ No new tests needed.
+
+ * crypto/gcrypt/CryptoKeyECGCrypt.cpp:
+ * platform/audio/ReverbAccumulationBuffer.cpp:
+
2017-06-27 Zalan Bujtas <za...@apple.com>
Add RenderEmbeddedObject::getReplacementTextGeometry helper.
Modified: trunk/Source/WebCore/crypto/gcrypt/CryptoKeyECGCrypt.cpp (218839 => 218840)
--- trunk/Source/WebCore/crypto/gcrypt/CryptoKeyECGCrypt.cpp 2017-06-27 21:01:54 UTC (rev 218839)
+++ trunk/Source/WebCore/crypto/gcrypt/CryptoKeyECGCrypt.cpp 2017-06-27 21:06:04 UTC (rev 218840)
@@ -32,6 +32,7 @@
#include "GCryptUtilities.h"
#include "JsonWebKey.h"
#include "NotImplemented.h"
+#include <array>
#include <pal/crypto/gcrypt/Handle.h>
#include <pal/crypto/gcrypt/Utilities.h>
#include <pal/crypto/tasn1/Utilities.h>
Modified: trunk/Source/WebCore/platform/audio/ReverbAccumulationBuffer.cpp (218839 => 218840)
--- trunk/Source/WebCore/platform/audio/ReverbAccumulationBuffer.cpp 2017-06-27 21:01:54 UTC (rev 218839)
+++ trunk/Source/WebCore/platform/audio/ReverbAccumulationBuffer.cpp 2017-06-27 21:06:04 UTC (rev 218840)
@@ -34,6 +34,8 @@
#include "VectorMath.h"
+#include <algorithm>
+
namespace WebCore {
using namespace VectorMath;
Modified: trunk/Source/WebKit2/ChangeLog (218839 => 218840)
--- trunk/Source/WebKit2/ChangeLog 2017-06-27 21:01:54 UTC (rev 218839)
+++ trunk/Source/WebKit2/ChangeLog 2017-06-27 21:06:04 UTC (rev 218840)
@@ -1,3 +1,14 @@
+2017-06-27 Ting-Wei Lan <lant...@gmail.com>
+
+ Add missing includes to fix compilation error on FreeBSD
+ https://bugs.webkit.org/show_bug.cgi?id=172919
+
+ Reviewed by Mark Lam.
+
+ * UIProcess/API/C/WKContextPrivate.h:
+ * UIProcess/API/C/WKPagePrivate.h:
+ * UIProcess/ProcessAssertion.h:
+
2017-06-27 Wenson Hsieh <wenson_hs...@apple.com>
Refactor drag start codepaths to plumb a DragItem to client layers
Modified: trunk/Source/WebKit2/UIProcess/API/C/WKContextPrivate.h (218839 => 218840)
--- trunk/Source/WebKit2/UIProcess/API/C/WKContextPrivate.h 2017-06-27 21:01:54 UTC (rev 218839)
+++ trunk/Source/WebKit2/UIProcess/API/C/WKContextPrivate.h 2017-06-27 21:06:04 UTC (rev 218840)
@@ -29,6 +29,8 @@
#include <WebKit/WKBase.h>
#include <WebKit/WKContext.h>
+#include <unistd.h>
+
#ifdef __cplusplus
extern "C" {
#endif
Modified: trunk/Source/WebKit2/UIProcess/API/C/WKPagePrivate.h (218839 => 218840)
--- trunk/Source/WebKit2/UIProcess/API/C/WKPagePrivate.h 2017-06-27 21:01:54 UTC (rev 218839)
+++ trunk/Source/WebKit2/UIProcess/API/C/WKPagePrivate.h 2017-06-27 21:06:04 UTC (rev 218840)
@@ -29,6 +29,8 @@
#include <WebKit/WKBase.h>
#include <WebKit/WKPage.h>
+#include <unistd.h>
+
#ifdef __cplusplus
extern "C" {
#endif
Modified: trunk/Source/WebKit2/UIProcess/ProcessAssertion.h (218839 => 218840)
--- trunk/Source/WebKit2/UIProcess/ProcessAssertion.h 2017-06-27 21:01:54 UTC (rev 218839)
+++ trunk/Source/WebKit2/UIProcess/ProcessAssertion.h 2017-06-27 21:06:04 UTC (rev 218840)
@@ -26,6 +26,7 @@
#ifndef ProcessAssertion_h
#define ProcessAssertion_h
+#include <unistd.h>
#include <wtf/Function.h>
#if PLATFORM(IOS) && !PLATFORM(IOS_SIMULATOR)
Modified: trunk/Tools/ChangeLog (218839 => 218840)
--- trunk/Tools/ChangeLog 2017-06-27 21:01:54 UTC (rev 218839)
+++ trunk/Tools/ChangeLog 2017-06-27 21:06:04 UTC (rev 218840)
@@ -1,3 +1,12 @@
+2017-06-27 Ting-Wei Lan <lant...@gmail.com>
+
+ Add missing includes to fix compilation error on FreeBSD
+ https://bugs.webkit.org/show_bug.cgi?id=172919
+
+ Reviewed by Mark Lam.
+
+ * ImageDiff/cairo/PlatformImageCairo.cpp:
+
2017-06-26 Jonathan Bedard <jbed...@apple.com>
Unreviewed, rolling out r218783.
Modified: trunk/Tools/ImageDiff/cairo/PlatformImageCairo.cpp (218839 => 218840)
--- trunk/Tools/ImageDiff/cairo/PlatformImageCairo.cpp 2017-06-27 21:01:54 UTC (rev 218839)
+++ trunk/Tools/ImageDiff/cairo/PlatformImageCairo.cpp 2017-06-27 21:06:04 UTC (rev 218840)
@@ -27,6 +27,7 @@
#include <cairo.h>
#include <stdio.h>
+#include <stdlib.h>
#ifdef _WIN32
#define FORMAT_SIZE_T "Iu"