summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/IOHandler.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2018-03-13 15:55:00 +0000
committerPavel Labath <labath@google.com>2018-03-13 15:55:00 +0000
commitf9841cec26386f23f26989d9ff8a709f5015e248 (patch)
tree1b7754349f6d75a2dae774e0db37a2eedba7c100 /lldb/source/Core/IOHandler.cpp
parentdf28fb6ac27ecc69d793f845aec61e38b71c0912 (diff)
downloadbcm5719-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.cpp1
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
OpenPOWER on IntegriCloud