diff options
author | Hafiz Abid Qadeer <hafiz_abid@mentor.com> | 2015-10-27 17:56:23 +0000 |
---|---|---|
committer | Hafiz Abid Qadeer <hafiz_abid@mentor.com> | 2015-10-27 17:56:23 +0000 |
commit | 6eb683891fcbf667d59163f1c782b0ea5b1b97fc (patch) | |
tree | 85e612df03265748bc7e6bb0491cf180dd6b4a2a /lldb/source/Core/CxaDemangle.cpp | |
parent | cd6e8cf8c250609c7339ef83b3e8844cfbf00966 (diff) | |
download | bcm5719-llvm-6eb683891fcbf667d59163f1c782b0ea5b1b97fc.tar.gz bcm5719-llvm-6eb683891fcbf667d59163f1c782b0ea5b1b97fc.zip |
Include <cstdio> to fix build errors.
This file uses things like fprintf and stderr and <cstdio> is the right
header to include. I was getting build errors without it.
llvm-svn: 251426
Diffstat (limited to 'lldb/source/Core/CxaDemangle.cpp')
-rw-r--r-- | lldb/source/Core/CxaDemangle.cpp | 2 |
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 { |