aboutsummaryrefslogtreecommitdiff
path: root/build/cli/rule.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build/cli/rule.cxx')
-rw-r--r--build/cli/rule.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/build/cli/rule.cxx b/build/cli/rule.cxx
index 889e6a2..9abe665 100644
--- a/build/cli/rule.cxx
+++ b/build/cli/rule.cxx
@@ -6,6 +6,7 @@
#include <butl/process>
+#include <build/types>
#include <build/scope>
#include <build/target>
#include <build/context>
@@ -183,7 +184,7 @@ namespace build
}
static void
- append_extension (vector<const char*>& args,
+ append_extension (cstrings& args,
path_target& t,
const char* option,
const char* default_extension)
@@ -224,7 +225,7 @@ namespace build
scope& rs (t.root_scope ());
const string& cli (rs["config.cli"].as<const string&> ());
- vector<const char*> args {cli.c_str ()};
+ cstrings args {cli.c_str ()};
// See if we need to pass any --?xx-suffix options.
//