Title: [213416] trunk/Source/_javascript_Core
Revision
213416
Author
clo...@igalia.com
Date
2017-03-03 21:01:43 -0800 (Fri, 03 Mar 2017)

Log Message

[JSC] build fix after r213399
https://bugs.webkit.org/show_bug.cgi?id=169154

Unreviewed.

* runtime/ConfigFile.cpp: Include unistd.h since its where getcwd() is defined.

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (213415 => 213416)


--- trunk/Source/_javascript_Core/ChangeLog	2017-03-04 02:43:50 UTC (rev 213415)
+++ trunk/Source/_javascript_Core/ChangeLog	2017-03-04 05:01:43 UTC (rev 213416)
@@ -1,3 +1,12 @@
+2017-03-03  Carlos Alberto Lopez Perez  <clo...@igalia.com>
+
+        [JSC] build fix after r213399
+        https://bugs.webkit.org/show_bug.cgi?id=169154
+
+        Unreviewed.
+
+        * runtime/ConfigFile.cpp: Include unistd.h since its where getcwd() is defined.
+
 2017-03-03  Dean Jackson  <d...@apple.com>
 
         Add WebGPU compile flag and experimental feature flag

Modified: trunk/Source/_javascript_Core/runtime/ConfigFile.cpp (213415 => 213416)


--- trunk/Source/_javascript_Core/runtime/ConfigFile.cpp	2017-03-04 02:43:50 UTC (rev 213415)
+++ trunk/Source/_javascript_Core/runtime/ConfigFile.cpp	2017-03-04 05:01:43 UTC (rev 213416)
@@ -35,6 +35,10 @@
 #include <wtf/StringExtras.h>
 #include <wtf/text/StringBuilder.h>
 
+#if OS(UNIX) || OS(DARWIN)
+#include <unistd.h>
+#endif
+
 namespace JSC {
 
 static const size_t s_processNameMax = 128;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to