summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/CxaDemangle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Core/CxaDemangle.cpp')
-rw-r--r--lldb/source/Core/CxaDemangle.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Core/CxaDemangle.cpp b/lldb/source/Core/CxaDemangle.cpp
index bcc52ff39fe..7d21138c289 100644
--- a/lldb/source/Core/CxaDemangle.cpp
+++ b/lldb/source/Core/CxaDemangle.cpp
@@ -13,6 +13,7 @@
// - Included win32.h for snprintf implementation for MSVC
// - Removed constexpr member initialization for MSVC
// - Changed argument to alignas() to a literal for MSVC
+// - Include <cstdio> for fprintf, stderr like entities.
//----------------------------------------------------------------------
#if defined(_MSC_VER)
@@ -40,6 +41,7 @@
#include <cstdlib>
#include <cstring>
#include <cctype>
+#include <cstdio>
namespace lldb_private
{
OpenPOWER on IntegriCloud