diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-12-15 05:48:43 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-12-15 05:48:43 +0000 |
commit | f5a684d7742df5b57e70bb4dac327f2ef0333f71 (patch) | |
tree | 6f4aa49a08a9ba842a01d07310187685ebe57b0f /lib/Frontend/CompilerInstance.cpp | |
parent | 2e5c15be82f362611c5928ce853d0685ff98c766 (diff) |
[libclang] Try to unbreak mingw build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146646 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/CompilerInstance.cpp')
-rw-r--r-- | lib/Frontend/CompilerInstance.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Frontend/CompilerInstance.cpp b/lib/Frontend/CompilerInstance.cpp index 84df382e27..8b6251e6e7 100644 --- a/lib/Frontend/CompilerInstance.cpp +++ b/lib/Frontend/CompilerInstance.cpp @@ -48,9 +48,12 @@ #include <fstream> #include <sys/types.h> #include <sys/stat.h> +#include <cstdlib> #if LLVM_ON_WIN32 #include <windows.h> +#include <io.h> +#include <fcntl.h> #endif #if LLVM_ON_UNIX #include <unistd.h> |