]> git.mxchange.org Git - flightgear.git/blobdiff - src/Time/fg_timer.cxx
Patch from Cameron Moore:
[flightgear.git] / src / Time / fg_timer.cxx
index 192a95180af9b99ec2d2e591c1db29702dbe5cc7..b98184070937277495d335848909518de5fbd274 100644 (file)
@@ -36,8 +36,9 @@
 #  include <sys/time.h>  // for get/setitimer, gettimeofday, struct timeval
 #endif
 
+#include <simgear/timing/timestamp.hxx>
+
 #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 ) {