summaryrefslogtreecommitdiff
path: root/gi/clda/src
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
commit68d0c5b9385941fbd6a58eba4ad85ef0f0d59093 (patch)
tree66eb7553c91e97b557109288cb3ea80df975d085 /gi/clda/src
parent5d661b49dab6e0e3620efbd4e45a2ed53d04232c (diff)
cygwin compile
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@24 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'gi/clda/src')
-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