aboutsummaryrefslogtreecommitdiff
path: root/build2/search.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/search.cxx')
-rw-r--r--build2/search.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/build2/search.cxx b/build2/search.cxx
index c4b9ae3..7683ef6 100644
--- a/build2/search.cxx
+++ b/build2/search.cxx
@@ -4,11 +4,10 @@
#include <build2/search.hxx>
-#include <libbutl/filesystem.mxx> // file_mtime()
-
#include <build2/scope.hxx>
#include <build2/target.hxx>
#include <build2/context.hxx>
+#include <build2/filesystem.hxx> // mtime()
#include <build2/prerequisite.hxx>
#include <build2/diagnostics.hxx>
@@ -148,7 +147,7 @@ namespace build2
f += *ext;
}
- timestamp mt (file_mtime (f));
+ timestamp mt (mtime (f));
if (mt == timestamp_nonexistent)
{