aboutsummaryrefslogtreecommitdiff
path: root/build2/target.ixx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/target.ixx')
-rw-r--r--build2/target.ixx4
1 files changed, 3 insertions, 1 deletions
diff --git a/build2/target.ixx b/build2/target.ixx
index c3e2f63..dcbea32 100644
--- a/build2/target.ixx
+++ b/build2/target.ixx
@@ -4,6 +4,8 @@
#include <cstring> // memcpy()
+#include <build2/filesystem.hxx> // mtime()
+
namespace build2
{
// target
@@ -314,7 +316,7 @@ namespace build2
{
assert (!p.empty ());
- r = file_mtime (p).time_since_epoch ().count ();
+ r = build2::mtime (p).time_since_epoch ().count ();
mtime_.store (r, memory_order_release);
}