Include stdio.h before using stderr
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: http://svn.webkit.org/repository/webkit/trunk@230915 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/bmalloc/ChangeLog b/Source/bmalloc/ChangeLog
index 3ed0d0d..c3787cb 100644
--- a/Source/bmalloc/ChangeLog
+++ b/Source/bmalloc/ChangeLog
@@ -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
diff --git a/Source/bmalloc/bmalloc/PerProcess.cpp b/Source/bmalloc/bmalloc/PerProcess.cpp
index 67add7d..292b9f5 100644
--- a/Source/bmalloc/bmalloc/PerProcess.cpp
+++ b/Source/bmalloc/bmalloc/PerProcess.cpp
@@ -26,6 +26,7 @@
 #include "PerProcess.h"
 
 #include "VMAllocate.h"
+#include <stdio.h>
 
 namespace bmalloc {
 
diff --git a/Source/bmalloc/bmalloc/Scavenger.cpp b/Source/bmalloc/bmalloc/Scavenger.cpp
index 06a6898..6c2b55a 100644
--- a/Source/bmalloc/bmalloc/Scavenger.cpp
+++ b/Source/bmalloc/bmalloc/Scavenger.cpp
@@ -36,6 +36,7 @@
 #import <mach/mach.h>
 #import <mach/mach_error.h>
 #endif
+#include <stdio.h>
 #include <thread>
 
 namespace bmalloc {