aboutsummaryrefslogtreecommitdiff
path: root/build/search.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build/search.cxx')
-rw-r--r--build/search.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/build/search.cxx b/build/search.cxx
index ee6e20f..feff123 100644
--- a/build/search.cxx
+++ b/build/search.cxx
@@ -7,6 +7,8 @@
#include <utility> // move()
#include <cassert>
+#include <butl/filesystem>
+
#include <build/scope>
#include <build/target>
#include <build/prerequisite>
@@ -78,7 +80,7 @@ namespace build
f += e;
}
- timestamp mt (path_mtime (f));
+ timestamp mt (file_mtime (f));
if (mt == timestamp_nonexistent)
continue;