summaryrefslogtreecommitdiff
path: root/src/map/date.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/date.c')
-rw-r--r--src/map/date.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/map/date.c b/src/map/date.c
index f38ead858..975a00c50 100644
--- a/src/map/date.c
+++ b/src/map/date.c
@@ -1,10 +1,14 @@
// Copyright (c) Athena Dev Teams - Licensed under GNU GPL
// For more information, see LICENCE in the main folder
-#include "../common/cbasetypes.h"
+#define HERCULES_CORE
+
#include "date.h"
+
#include <time.h>
+#include "../common/cbasetypes.h"
+
int date_get_year(void)
{
time_t t;