summaryrefslogtreecommitdiff
path: root/gi/clda
diff options
context:
space:
mode:
Diffstat (limited to 'gi/clda')
-rw-r--r--gi/clda/src/timer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gi/clda/src/timer.h b/gi/clda/src/timer.h
index ca26b304..123d9a94 100644
--- a/gi/clda/src/timer.h
+++ b/gi/clda/src/timer.h
@@ -1,6 +1,8 @@
#ifndef _TIMER_STATS_H_
#define _TIMER_STATS_H_
+#include <ctime>
+
struct Timer {
Timer() { Reset(); }
void Reset() {
@@ -12,7 +14,7 @@ struct Timer {
return elapsed;
}
private:
- clock_t start_t;
+ std::clock_t start_t;
};
#endif