[cfe-commits] r146646 - /cfe/trunk/lib/Frontend/CompilerInstance.cpp

Argyrios Kyrtzidis akyrtzi at gmail.com
Wed Dec 14 21:48:43 PST 2011


Author: akirtzidis
Date: Wed Dec 14 23:48:43 2011
New Revision: 146646

URL: http://llvm.org/viewvc/llvm-project?rev=146646&view=rev
Log:
[libclang] Try to unbreak mingw build.

Modified:
    cfe/trunk/lib/Frontend/CompilerInstance.cpp

Modified: cfe/trunk/lib/Frontend/CompilerInstance.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/CompilerInstance.cpp?rev=146646&r1=146645&r2=146646&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/CompilerInstance.cpp (original)
+++ cfe/trunk/lib/Frontend/CompilerInstance.cpp Wed Dec 14 23:48:43 2011
@@ -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>





More information about the cfe-commits mailing list