diff options
Diffstat (limited to 'src/build_log.h')
-rw-r--r-- | src/build_log.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/build_log.h b/src/build_log.h index 51cbe5e..3e27eee 100644 --- a/src/build_log.h +++ b/src/build_log.h @@ -20,6 +20,7 @@ using namespace std; #include "hash_map.h" +#include "timestamp.h" struct BuildConfig; struct Edge; @@ -39,7 +40,7 @@ struct BuildLog { void SetConfig(BuildConfig* config) { config_ = config; } bool OpenForWrite(const string& path, string* err); void RecordCommand(Edge* edge, int start_time, int end_time, - time_t restat_mtime = 0); + TimeStamp restat_mtime = 0); void Close(); /// Load the on-disk log. @@ -50,7 +51,7 @@ struct BuildLog { string command; int start_time; int end_time; - time_t restat_mtime; + TimeStamp restat_mtime; // Used by tests. bool operator==(const LogEntry& o) { |