Title: [139926] trunk/Source/_javascript_Core
Revision
139926
Author
[email protected]
Date
2013-01-16 14:39:46 -0800 (Wed, 16 Jan 2013)

Log Message

Add missing sys/mman.h include on Mac
https://bugs.webkit.org/show_bug.cgi?id=98089

Patch by Jonathan Liu <[email protected]> on 2013-01-16
Reviewed by Darin Adler.

The madvise function and MADV_FREE constant require sys/mman.h.

* jit/ExecutableAllocatorFixedVMPool.cpp:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (139925 => 139926)


--- trunk/Source/_javascript_Core/ChangeLog	2013-01-16 22:31:18 UTC (rev 139925)
+++ trunk/Source/_javascript_Core/ChangeLog	2013-01-16 22:39:46 UTC (rev 139926)
@@ -1,3 +1,14 @@
+2013-01-16  Jonathan Liu  <[email protected]>
+
+        Add missing sys/mman.h include on Mac
+        https://bugs.webkit.org/show_bug.cgi?id=98089
+
+        Reviewed by Darin Adler.
+
+        The madvise function and MADV_FREE constant require sys/mman.h.
+
+        * jit/ExecutableAllocatorFixedVMPool.cpp:
+
 2013-01-15  Michael Saboff  <[email protected]>
 
         DFG X86: division in the used-as-int case doesn't correctly check for -2^31/-1

Modified: trunk/Source/_javascript_Core/jit/ExecutableAllocatorFixedVMPool.cpp (139925 => 139926)


--- trunk/Source/_javascript_Core/jit/ExecutableAllocatorFixedVMPool.cpp	2013-01-16 22:31:18 UTC (rev 139925)
+++ trunk/Source/_javascript_Core/jit/ExecutableAllocatorFixedVMPool.cpp	2013-01-16 22:39:46 UTC (rev 139926)
@@ -36,6 +36,10 @@
 #include <wtf/PageReservation.h>
 #include <wtf/VMTags.h>
 
+#if OS(DARWIN)
+#include <sys/mman.h>
+#endif
+
 #if OS(LINUX)
 #include <stdio.h>
 #endif
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to