]> granicus.if.org Git - clang/commitdiff
[libclang] Try to unbreak mingw build.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 15 Dec 2011 05:48:43 +0000 (05:48 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 15 Dec 2011 05:48:43 +0000 (05:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146646 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Frontend/CompilerInstance.cpp

index 84df382e27335ddb12933da7642683732de1b673..8b6251e6e787c464e24ff0370604613f97a9e0bb 100644 (file)
 #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>