diff --git a/Source/cmGlobalNinjaGenerator.h b/Source/cmGlobalNinjaGenerator.h index 56c5ca4efa..e939f61494 100644 --- a/Source/cmGlobalNinjaGenerator.h +++ b/Source/cmGlobalNinjaGenerator.h @@ -317,7 +317,7 @@ private: ASD.insert(deps.begin(), deps.end()); } - std::string cmGlobalNinjaGenerator::ninjaCmd() const; + std::string ninjaCmd() const; private: /// The file containing the build statement. (the relation ship of the diff --git a/Source/cmcldeps.cxx b/Source/cmcldeps.cxx index 1d69608a74..1eadf61412 100644 --- a/Source/cmcldeps.cxx +++ b/Source/cmcldeps.cxx @@ -22,6 +22,8 @@ #include #include #include +#include + using namespace std; #ifdef _WIN32