summaryrefslogtreecommitdiff
path: root/src/common/timer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/timer.hpp')
-rw-r--r--src/common/timer.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/timer.hpp b/src/common/timer.hpp
index c581377..b9c9588 100644
--- a/src/common/timer.hpp
+++ b/src/common/timer.hpp
@@ -5,6 +5,8 @@
# include "sanity.hpp"
+# include "strings.hpp"
+
// updated automatically when using milli_clock::now()
// which is done only by core.cpp
extern tick_t gettick_cache;
@@ -20,6 +22,6 @@ tick_t gettick(void)
interval_t do_timer(tick_t tick);
/// Stat a file, and return its modification time, truncated to seconds.
-tick_t file_modified(const char *name);
+tick_t file_modified(ZString name);
#endif // TIMER_HPP