Includes direct.h for windows compilation.

llvm-svn: 156301
This commit is contained in:
Manuel Klimek 2012-05-07 09:45:46 +00:00
parent f86cf78190
commit 74cec54b80
1 changed files with 5 additions and 0 deletions

View File

@ -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 <direct.h>
#endif
namespace clang {
namespace tooling {