Include stdio.h before using stderr
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 23 Apr 2018 15:23:35 +0000 (15:23 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 23 Apr 2018 15:23:35 +0000 (15:23 +0000)
https://bugs.webkit.org/show_bug.cgi?id=184872

Patch by Ting-Wei Lan <lantw44@gmail.com> on 2018-04-23
Reviewed by Yusuke Suzuki.

* bmalloc/PerProcess.cpp:
* bmalloc/Scavenger.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@230915 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/bmalloc/ChangeLog
Source/bmalloc/bmalloc/PerProcess.cpp
Source/bmalloc/bmalloc/Scavenger.cpp

index 3ed0d0d..c3787cb 100644 (file)
@@ -1,3 +1,13 @@
+2018-04-23  Ting-Wei Lan  <lantw44@gmail.com>
+
+        Include stdio.h before using stderr
+        https://bugs.webkit.org/show_bug.cgi?id=184872
+
+        Reviewed by Yusuke Suzuki.
+
+        * bmalloc/PerProcess.cpp:
+        * bmalloc/Scavenger.cpp:
+
 2018-04-21  Yusuke Suzuki  <utatane.tea@gmail.com>
 
         Unreviewed, follow-up patch after r230474
index 67add7d..292b9f5 100644 (file)
@@ -26,6 +26,7 @@
 #include "PerProcess.h"
 
 #include "VMAllocate.h"
+#include <stdio.h>
 
 namespace bmalloc {
 
index 06a6898..6c2b55a 100644 (file)
@@ -36,6 +36,7 @@
 #import <mach/mach.h>
 #import <mach/mach_error.h>
 #endif
+#include <stdio.h>
 #include <thread>
 
 namespace bmalloc {