aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/compile.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cc/compile.hxx')
-rw-r--r--build2/cc/compile.hxx11
1 files changed, 9 insertions, 2 deletions
diff --git a/build2/cc/compile.hxx b/build2/cc/compile.hxx
index 27a5ce7..0f8843e 100644
--- a/build2/cc/compile.hxx
+++ b/build2/cc/compile.hxx
@@ -11,6 +11,7 @@
#include <build2/utility.hxx>
#include <build2/rule.hxx>
+#include <build2/filesystem.hxx> // auto_rmfile
#include <build2/cc/types.hxx>
#include <build2/cc/common.hxx>
@@ -82,8 +83,14 @@ namespace build2
// Header dependency injection. Return true if any were updated.
//
- bool
- inject (action, file&, lorder, const file&, depdb&) const;
+ void
+ inject (action,
+ file&,
+ lorder,
+ const file&,
+ depdb&,
+ auto_rmfile&,
+ bool&) const;
private:
const string rule_id;