aboutsummaryrefslogtreecommitdiff
path: root/bpkg/utility.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/utility.hxx')
-rw-r--r--bpkg/utility.hxx10
1 files changed, 9 insertions, 1 deletions
diff --git a/bpkg/utility.hxx b/bpkg/utility.hxx
index 8e7260a..69a02d3 100644
--- a/bpkg/utility.hxx
+++ b/bpkg/utility.hxx
@@ -10,7 +10,7 @@
#include <cstring> // strcmp(), strchr()
#include <utility> // move(), forward(), declval(), make_pair()
#include <cassert> // assert()
-#include <iterator> // make_move_iterator()
+#include <iterator> // make_move_iterator(), back_inserter()
#include <algorithm> // *
#include <libbutl/ft/lang.hxx>
@@ -33,6 +33,7 @@ namespace bpkg
using std::make_pair;
using std::make_shared;
using std::make_move_iterator;
+ using std::back_inserter;
using std::to_string;
using std::strcmp;
@@ -51,6 +52,7 @@ namespace bpkg
using butl::trim;
using butl::trim_left;
using butl::trim_right;
+ using butl::next_word;
using butl::make_guard;
using butl::make_exception_guard;
@@ -59,6 +61,8 @@ namespace bpkg
using butl::setenv;
using butl::unsetenv;
+ using butl::eof;
+
// <libbutl/process.hxx>
//
using butl::process_start_callback;
@@ -99,6 +103,10 @@ namespace bpkg
extern const dir_path current_dir; // ./
+ // Host target triplet for which we were built.
+ //
+ extern const target_triplet host_triplet;
+
// Temporary directory facility.
//
// An entry normally maps <cfg-dir> to <cfg-dir>/.bpkg/tmp/ but can also map