[Support] Add missing includes of <system_error> for std::error_code
commitd52d02cd53993bed0eda3b3c88c9614715593c60
authorMartin Storsjo <martin@martin.st>
Wed, 20 Jun 2018 09:17:19 +0000 (20 09:17 +0000)
committerMartin Storsjo <martin@martin.st>
Wed, 20 Jun 2018 09:17:19 +0000 (20 09:17 +0000)
tree93f1e8dbdc5fcd305b3dfa4ad011f2fac242d56c
parent93cb249edaeccee55699e24bc187aa337960613e
[Support] Add missing includes of <system_error> for std::error_code

This fixes compilation with MinGW after SVN r333798, which added
a few functions within _WIN32 ifdefs, functions returning
std::error_code. Include everything that is needed instead of
hoping that this header being inclued transitively (which it apparently
is in MSVC builds).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@335107 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/ConvertUTF.h
include/llvm/Support/Path.h