summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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