diff options
Diffstat (limited to 'source/DataFormatters/CXXFormatterFunctions.cpp')
| -rw-r--r-- | source/DataFormatters/CXXFormatterFunctions.cpp | 7 | 
1 files changed, 4 insertions, 3 deletions
diff --git a/source/DataFormatters/CXXFormatterFunctions.cpp b/source/DataFormatters/CXXFormatterFunctions.cpp index 5aa8289794c1..49eacee42f78 100644 --- a/source/DataFormatters/CXXFormatterFunctions.cpp +++ b/source/DataFormatters/CXXFormatterFunctions.cpp @@ -7,8 +7,6 @@  //  //===----------------------------------------------------------------------===// -#include "lldb/lldb-python.h" -  #include "lldb/DataFormatters/CXXFormatterFunctions.h"  #include "lldb/DataFormatters/StringPrinter.h"  #include "lldb/DataFormatters/TypeSummary.h" @@ -29,10 +27,13 @@  #include "lldb/Utility/ProcessStructReader.h"  #include <algorithm> +  #if __ANDROID_NDK__  #include <sys/types.h>  #endif +#include "lldb/Host/Time.h" +  using namespace lldb;  using namespace lldb_private;  using namespace lldb_private::formatters; @@ -317,7 +318,7 @@ lldb_private::formatters::WCharStringSummaryProvider (ValueObject& valobj, Strea          return false;      ClangASTType wchar_clang_type = ClangASTContext::GetBasicType(ast, lldb::eBasicTypeWChar); -    const uint32_t wchar_size = wchar_clang_type.GetBitSize(nullptr); +    const uint32_t wchar_size = wchar_clang_type.GetBitSize(nullptr); // Safe to pass NULL for exe_scope here      ReadStringAndDumpToStreamOptions options(valobj);      options.SetLocation(data_addr);  | 
