From ebbc6f0639383356c23a6b32c9f8c748451d4ba2 Mon Sep 17 00:00:00 2001 From: graehl Date: Thu, 24 Jun 2010 23:21:48 +0000 Subject: cygwin compile git-svn-id: https://ws10smt.googlecode.com/svn/trunk@24 ec762483-ff6d-05da-a07a-a48fb63a330f --- gi/clda/src/timer.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gi') 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 + 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 -- cgit v1.2.3