]> git.stg.codes - stg.git/blobdiff - projects/stargazer/stg_timer.cpp
Placeholder added to the XML-RPC API documentation book
[stg.git] / projects / stargazer / stg_timer.cpp
index dd0a04e1a9d249ceae200214b528d1b0a1f60e1f..fff79a3918de7ae93e1bb2258e7ebbd942919413 100644 (file)
@@ -3,7 +3,7 @@
 #include <ctime>
 #include <cstring>
 
-#include "common.h"
+#include "stg/common.h"
 
 static int nonstop;
 static pthread_t thrStgTimer;
@@ -54,6 +54,8 @@ switch (START_TIME)
         stgTime = mktime(&lt);
         break;
     }
+#else
+stgTime = time(NULL);
 #endif
 
 nonstop = 1;