summaryrefslogtreecommitdiff
path: root/src/crashlog.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-01-25 17:22:06 +0000
committerfrosch <frosch@openttd.org>2010-01-25 17:22:06 +0000
commitf379b0a1d909f801d915302447b634c18fd58c91 (patch)
treeb4e3c77e7dcece76838e3de81f7a5b6cfc0658b8 /src/crashlog.cpp
parent32fa5384d29096a965dd410f3f5e932123a357e4 (diff)
downloadopenttd-f379b0a1d909f801d915302447b634c18fd58c91.tar.xz
(svn r18916) -Fix (r18809): Don't rely on 'time.h' being included via dark roads.
Diffstat (limited to 'src/crashlog.cpp')
-rw-r--r--src/crashlog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/crashlog.cpp b/src/crashlog.cpp
index 8649f396d..c3284120e 100644
--- a/src/crashlog.cpp
+++ b/src/crashlog.cpp
@@ -30,6 +30,7 @@
#include "company_base.h"
#include "company_func.h"
+#include <time.h>
/* static */ const char *CrashLog::message = NULL;
/* static */ char *CrashLog::gamelog_buffer = NULL;