summaryrefslogtreecommitdiff
path: root/src/script/api/script_date.cpp
diff options
context:
space:
mode:
authorLoïc Guilloux <glx22@users.noreply.github.com>2021-04-29 14:26:08 +0200
committerGitHub <noreply@github.com>2021-04-29 14:26:08 +0200
commit356bbbb90aaa3ac981b69693ce40d3afdaa6ea33 (patch)
treef6488574bd8f270062d14953ac1ca1950c0f3826 /src/script/api/script_date.cpp
parent20ac0b41484ebcaef3f8bdc9d4410903fd499386 (diff)
downloadopenttd-356bbbb90aaa3ac981b69693ce40d3afdaa6ea33.tar.xz
Fix: [MinGW] Set minimum OS version to Windows XP (#9135)
Diffstat (limited to 'src/script/api/script_date.cpp')
-rw-r--r--src/script/api/script_date.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/script/api/script_date.cpp b/src/script/api/script_date.cpp
index 9946a26ec..ae3dff78c 100644
--- a/src/script/api/script_date.cpp
+++ b/src/script/api/script_date.cpp
@@ -7,11 +7,12 @@
/** @file script_date.cpp Implementation of ScriptDate. */
-#include <time.h>
#include "../../stdafx.h"
#include "script_date.hpp"
#include "../../date_func.h"
+#include <time.h>
+
#include "../../safeguards.h"
/* static */ bool ScriptDate::IsValidDate(Date date)