X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FTime%2Ffg_timer.cxx;h=b98184070937277495d335848909518de5fbd274;hb=973ffbf289accc941b04a15de7ec246b7ef99592;hp=192a95180af9b99ec2d2e591c1db29702dbe5cc7;hpb=0ffa19cd32c02405d0e740393b37f4009ed5a312;p=flightgear.git diff --git a/src/Time/fg_timer.cxx b/src/Time/fg_timer.cxx index 192a95180..b98184070 100644 --- a/src/Time/fg_timer.cxx +++ b/src/Time/fg_timer.cxx @@ -36,8 +36,9 @@ # include // for get/setitimer, gettimeofday, struct timeval #endif +#include + #include "fg_timer.hxx" -#include "timestamp.hxx" unsigned long int fgSimTime; @@ -99,8 +100,8 @@ void fgTimerInit(float dt, void (*f)( int )) { int fgGetTimeInterval( void ) { int interval; static int inited = 0; - static FGTimeStamp last; - FGTimeStamp current; + static SGTimeStamp last; + SGTimeStamp current; if ( ! inited ) {