aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/utility.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/utility.hxx')
-rw-r--r--libbuild2/utility.hxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/libbuild2/utility.hxx b/libbuild2/utility.hxx
index 1d5c7bb..43b556e 100644
--- a/libbuild2/utility.hxx
+++ b/libbuild2/utility.hxx
@@ -21,6 +21,7 @@
#include <unordered_set>
#include <libbuild2/types.hxx>
+#include <libbuild2/forward.hxx>
// "Fake" version values used during bootstrap.
//
@@ -157,8 +158,6 @@ namespace build2
LIBBUILD2_SYMEXPORT extern optional<path> config_sub; // --config-sub
LIBBUILD2_SYMEXPORT extern optional<path> config_guess; // --config-guess
- class location;
-
LIBBUILD2_SYMEXPORT void
check_build_version (const standard_version_constraint&, const location&);
@@ -502,8 +501,6 @@ namespace build2
//
// If excl is not NULL, then filter this option out (note: case sensitive).
//
- struct variable;
-
template <typename T>
void
append_options (cstrings&, T&, const variable&, const char* excl = nullptr);
@@ -530,9 +527,6 @@ namespace build2
// As above but from the strings value directly.
//
- class value;
- struct lookup;
-
LIBBUILD2_SYMEXPORT void
append_options (cstrings&, const lookup&, const char* excl = nullptr);