diff options
author | Pavel Labath <labath@google.com> | 2018-03-13 15:55:00 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2018-03-13 15:55:00 +0000 |
commit | f9841cec26386f23f26989d9ff8a709f5015e248 (patch) | |
tree | 1b7754349f6d75a2dae774e0db37a2eedba7c100 /lldb/source/Core/IOHandler.cpp | |
parent | df28fb6ac27ecc69d793f845aec61e38b71c0912 (diff) | |
download | bcm5719-llvm-f9841cec26386f23f26989d9ff8a709f5015e248.tar.gz bcm5719-llvm-f9841cec26386f23f26989d9ff8a709f5015e248.zip |
include locale.h in IOHandler.cpp
This is needed for the setlocale() call, and it seems that it is not
transitively pulled in for some build configurations.
llvm-svn: 327413
Diffstat (limited to 'lldb/source/Core/IOHandler.cpp')
-rw-r--r-- | lldb/source/Core/IOHandler.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Core/IOHandler.cpp b/lldb/source/Core/IOHandler.cpp index 103b5ecde94..b1ed18c09c1 100644 --- a/lldb/source/Core/IOHandler.cpp +++ b/lldb/source/Core/IOHandler.cpp @@ -67,6 +67,7 @@ #include <assert.h> // for assert #include <ctype.h> // for isspace #include <errno.h> // for EINTR, errno +#include <locale.h> // for setlocale #include <stdint.h> // for uint32_t, UINT32_MAX #include <stdio.h> // for size_t, fprintf, feof #include <string.h> // for strlen |