summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/cmGlobalNinjaGenerator.h2
-rw-r--r--Source/cmcldeps.cxx2
2 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmGlobalNinjaGenerator.h b/Source/cmGlobalNinjaGenerator.h
index 56c5ca4..e939f61 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 1d69608..1eadf61 100644
--- a/Source/cmcldeps.cxx
+++ b/Source/cmcldeps.cxx
@@ -22,6 +22,8 @@
#include <string>
#include <vector>
#include <queue>
+#include <cstdio>
+
using namespace std;
#ifdef _WIN32