Title: [221588] trunk/Source/bmalloc
Revision
221588
Author
[email protected]
Date
2017-09-04 07:01:04 -0700 (Mon, 04 Sep 2017)

Log Message

Unreviewed build fix for Clang with libc++

Fixes a build failure when building with Clang, -stdlib=libc++, and gigacage
support enabled, which resulted in "stderr" being undefined.

* bmalloc/Gigacage.cpp: Add missing <ctsdio> include to pull the definition.

Modified Paths

Diff

Modified: trunk/Source/bmalloc/ChangeLog (221587 => 221588)


--- trunk/Source/bmalloc/ChangeLog	2017-09-04 11:45:28 UTC (rev 221587)
+++ trunk/Source/bmalloc/ChangeLog	2017-09-04 14:01:04 UTC (rev 221588)
@@ -1,3 +1,12 @@
+2017-09-04  Adrian Perez de Castro  <[email protected]>
+
+        Unreviewed build fix for Clang with libc++
+
+        Fixes a build failure when building with Clang, -stdlib=libc++, and gigacage
+        support enabled, which resulted in "stderr" being undefined.
+
+        * bmalloc/Gigacage.cpp: Add missing <ctsdio> include to pull the definition.
+
 2017-09-03  Yusuke Suzuki  <[email protected]>
 
         Large virtual memory region allocation requires MMAP_NORESERVE in Linux

Modified: trunk/Source/bmalloc/bmalloc/Gigacage.cpp (221587 => 221588)


--- trunk/Source/bmalloc/bmalloc/Gigacage.cpp	2017-09-04 11:45:28 UTC (rev 221587)
+++ trunk/Source/bmalloc/bmalloc/Gigacage.cpp	2017-09-04 14:01:04 UTC (rev 221588)
@@ -30,6 +30,7 @@
 #include "VMAllocate.h"
 #include "Vector.h"
 #include "bmalloc.h"
+#include <cstdio>
 #include <mutex>
 
 // FIXME: Ask dyld to put this in its own page, and mprotect the page after we ensure the gigacage.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to