summaryrefslogtreecommitdiff
path: root/gi
diff options
context:
space:
mode:
authorgraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-06-24 23:21:48 +0000
committergraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-06-24 23:21:48 +0000
commitebbc6f0639383356c23a6b32c9f8c748451d4ba2 (patch)
tree5230ad85b3245a1883c68778dc5ebf79abd99d2a /gi
parent1c910fb89ee11f47c3ab22e3e6c66546accabc86 (diff)
cygwin compile
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@24 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'gi')
-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