From ed5ee48872118ba3e8f747c7133d7adcacb73850 Mon Sep 17 00:00:00 2001 From: Manuel Klimek Date: Mon, 7 May 2012 10:02:55 +0000 Subject: [PATCH] Fix includes for unices that don't have chdir declared transitively. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156302 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Tooling/Tooling.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/Tooling/Tooling.cpp b/lib/Tooling/Tooling.cpp index 9eb186b86c..9b4d4e2e23 100644 --- a/lib/Tooling/Tooling.cpp +++ b/lib/Tooling/Tooling.cpp @@ -26,9 +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. +#ifdef _WIN32 # include +#else +# include #endif namespace clang { -- 2.40.0