# include <sys/time.h> // for get/setitimer, gettimeofday, struct timeval
#endif
-#include "fg_time.hxx"
+#include <simgear/timing/timestamp.hxx>
+
#include "fg_timer.hxx"
-#include "timestamp.hxx"
unsigned long int fgSimTime;
int fgGetTimeInterval( void ) {
int interval;
static int inited = 0;
- static FGTimeStamp last;
- FGTimeStamp current;
+ static SGTimeStamp last;
+ SGTimeStamp current;
+
if ( ! inited ) {
inited = 1;
last.stamp();
last = current;
}
- return(interval);
+ return interval;
}