diff options
author | Loïc Guilloux <glx22@users.noreply.github.com> | 2021-04-29 14:26:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-29 14:26:08 +0200 |
commit | 356bbbb90aaa3ac981b69693ce40d3afdaa6ea33 (patch) | |
tree | f6488574bd8f270062d14953ac1ca1950c0f3826 /src/script | |
parent | 20ac0b41484ebcaef3f8bdc9d4410903fd499386 (diff) | |
download | openttd-356bbbb90aaa3ac981b69693ce40d3afdaa6ea33.tar.xz |
Fix: [MinGW] Set minimum OS version to Windows XP (#9135)
Diffstat (limited to 'src/script')
-rw-r--r-- | src/script/api/script_date.cpp | 3 | ||||
-rw-r--r-- | src/script/squirrel.cpp | 5 |
2 files changed, 5 insertions, 3 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) diff --git a/src/script/squirrel.cpp b/src/script/squirrel.cpp index b9d614e8d..77f84a641 100644 --- a/src/script/squirrel.cpp +++ b/src/script/squirrel.cpp @@ -7,8 +7,6 @@ /** @file squirrel.cpp the implementation of the Squirrel class. It handles all Squirrel-stuff and gives a nice API back to work with. */ -#include <stdarg.h> -#include <map> #include "../stdafx.h" #include "../debug.h" #include "squirrel_std.hpp" @@ -21,6 +19,9 @@ #include <../squirrel/sqvm.h> #include "../core/alloc_func.hpp" +#include <stdarg.h> +#include <map> + /** * In the memory allocator for Squirrel we want to directly use malloc/realloc, so when the OS * does not have enough memory the game does not go into unrecoverable error mode and kill the |