aboutsummaryrefslogtreecommitdiff
path: root/src/common.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.hh')
-rw-r--r--src/common.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common.hh b/src/common.hh
index 9800e6a..4737c54 100644
--- a/src/common.hh
+++ b/src/common.hh
@@ -9,6 +9,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <algorithm>
@@ -139,6 +140,7 @@ char *Capitals(char *Text);
// =============================================================================
extern uint32 RoundNr;
extern uint32 ServerMilliseconds;
+struct tm GetLocalTimeTM(time_t t);
void GetRealTime(int *Hour, int *Minute);
void GetTime(int *Hour, int *Minute);
void GetDate(int *Year, int *Cycle, int *Day);