diff options
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 |