Title: [211651] trunk/Source/bmalloc
Revision
211651
Author
commit-qu...@webkit.org
Date
2017-02-03 13:59:08 -0800 (Fri, 03 Feb 2017)

Log Message

Include cstdlib before using ::malloc and posix_memalign
https://bugs.webkit.org/show_bug.cgi?id=167800

Patch by Ting-Wei Lan <lant...@gmail.com> on 2017-02-03
Reviewed by Geoffrey Garen.

* bmalloc/DebugHeap.cpp:

Modified Paths

Diff

Modified: trunk/Source/bmalloc/ChangeLog (211650 => 211651)


--- trunk/Source/bmalloc/ChangeLog	2017-02-03 21:56:43 UTC (rev 211650)
+++ trunk/Source/bmalloc/ChangeLog	2017-02-03 21:59:08 UTC (rev 211651)
@@ -1,3 +1,12 @@
+2017-02-03  Ting-Wei Lan  <lant...@gmail.com>
+
+        Include cstdlib before using ::malloc and posix_memalign
+        https://bugs.webkit.org/show_bug.cgi?id=167800
+
+        Reviewed by Geoffrey Garen.
+
+        * bmalloc/DebugHeap.cpp:
+
 2017-02-01  Andreas Kling  <akl...@apple.com>
 
         Implement the alwaysRunsAtBackgroundPriority WK2 setting using thread QoS.

Modified: trunk/Source/bmalloc/bmalloc/DebugHeap.cpp (211650 => 211651)


--- trunk/Source/bmalloc/bmalloc/DebugHeap.cpp	2017-02-03 21:56:43 UTC (rev 211650)
+++ trunk/Source/bmalloc/bmalloc/DebugHeap.cpp	2017-02-03 21:59:08 UTC (rev 211651)
@@ -26,6 +26,7 @@
 #include "DebugHeap.h"
 #include "BAssert.h"
 #include "BPlatform.h"
+#include <cstdlib>
 #include <thread>
 
 namespace bmalloc {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to