X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/9a52cec24d0e1ba7dc4e040fa80eec7c058ac603..8af67ea116d077d996241b714e6a2a273a9f739a:/projects/stargazer/stg_timer.cpp?ds=inline

diff --git a/projects/stargazer/stg_timer.cpp b/projects/stargazer/stg_timer.cpp
index dd0a04e1..fff79a39 100644
--- a/projects/stargazer/stg_timer.cpp
+++ b/projects/stargazer/stg_timer.cpp
@@ -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;