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
This commit is contained in:
Pavel Labath 2018-03-13 15:55:00 +00:00
parent df28fb6ac2
commit f9841cec26
1 changed files with 1 additions and 0 deletions

View File

@ -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