summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend
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
commitd99472f4cdb0a1220f12af9094de25af1daf86aa (patch)
treeae8c604e20e54541acf97b51a60fcdfbd5b89dd6 /clang/lib/Frontend
parentc0ac7d688ee6d6d2ae11e478f62f691fb37e8039 (diff)
downloadbcm5719-llvm-d99472f4cdb0a1220f12af9094de25af1daf86aa.tar.gz
bcm5719-llvm-d99472f4cdb0a1220f12af9094de25af1daf86aa.zip
[libclang] Try to unbreak mingw build.
llvm-svn: 146646
Diffstat (limited to 'clang/lib/Frontend')
-rw-r--r--clang/lib/Frontend/CompilerInstance.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/Frontend/CompilerInstance.cpp b/clang/lib/Frontend/CompilerInstance.cpp
index 84df382e273..8b6251e6e78 100644
--- a/clang/lib/Frontend/CompilerInstance.cpp
+++ b/clang/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>
OpenPOWER on IntegriCloud