--- clang/lib/Driver/ToolChains.cpp | 2 ++ 1 file changed, 2 insertions(+) Index: llvm-toolchain-snapshot_5.0~svn297449/clang/lib/Driver/ToolChains/Gnu.cpp =================================================================== --- llvm-toolchain-snapshot_5.0~svn297449.orig/clang/lib/Driver/ToolChains/Gnu.cpp +++ llvm-toolchain-snapshot_5.0~svn297449/clang/lib/Driver/ToolChains/Gnu.cpp @@ -2306,6 +2306,8 @@ void Generic_GCC::AddClangCXXStdlibInclu DriverArgs.hasArg(options::OPT_nostdincxx)) return; + addSystemInclude(DriverArgs, CC1Args, "/usr/include/clang/" + std::string(CLANG_VERSION_STRING) + "/include/"); + switch (GetCXXStdlibType(DriverArgs)) { case ToolChain::CST_Libcxx: { std::string Path = findLibCxxIncludePath();