From: Manuel Klimek Date: Mon, 7 May 2012 09:45:46 +0000 (+0000) Subject: Includes direct.h for windows compilation. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3b6e319c05a3f9858cbc1ceb68fd1b1895b6d2dc;p=clang Includes direct.h for windows compilation. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156301 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Tooling/Tooling.cpp b/lib/Tooling/Tooling.cpp index 6ab71e2043..9eb186b86c 100644 --- a/lib/Tooling/Tooling.cpp +++ b/lib/Tooling/Tooling.cpp @@ -26,6 +26,11 @@ #include "llvm/Support/Host.h" #include "llvm/Support/raw_ostream.h" +#ifdef _WIN32 +// For chdir, see the comment in ClangTool::run for more information. +# include +#endif + namespace clang { namespace tooling {