aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/target.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-10-29 14:17:30 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-10-29 14:17:30 +0200
commite5d4c47040e526f0302a53c75ccf1f8c3f5981a1 (patch)
tree04fbc5c0838952a002c42c83599f74cc5a0ee9cd /libbuild2/target.hxx
parentbeedc17766c58799eae1919cb471f686b8286363 (diff)
Add forward declaration header for build state types
Diffstat (limited to 'libbuild2/target.hxx')
-rw-r--r--libbuild2/target.hxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/libbuild2/target.hxx b/libbuild2/target.hxx
index e91c41a..258daef 100644
--- a/libbuild2/target.hxx
+++ b/libbuild2/target.hxx
@@ -12,6 +12,7 @@
#include <libbutl/multi-index.mxx> // map_iterator_adapter
#include <libbuild2/types.hxx>
+#include <libbuild2/forward.hxx>
#include <libbuild2/utility.hxx>
#include <libbuild2/scope.hxx>
@@ -27,9 +28,6 @@
namespace build2
{
- class rule;
- class target;
-
// From <libbuild2/algorithm.hxx>.
//
LIBBUILD2_SYMEXPORT const target&