aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend/CompilerInstance.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-12-15 05:48:43 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-12-15 05:48:43 +0000
commitf5a684d7742df5b57e70bb4dac327f2ef0333f71 (patch)
tree6f4aa49a08a9ba842a01d07310187685ebe57b0f /lib/Frontend/CompilerInstance.cpp
parent2e5c15be82f362611c5928ce853d0685ff98c766 (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.cpp3
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>