summaryrefslogtreecommitdiff
path: root/src/3rdparty/squirrel/sqstdlib/sqstdaux.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2014-09-06 19:54:35 +0000
committerrubidium <rubidium@openttd.org>2014-09-06 19:54:35 +0000
commiteb52e65beccd66e8ebdb1d8897b609c331b21bcc (patch)
tree4391ac105c468b52c56a98143c030a26f954658f /src/3rdparty/squirrel/sqstdlib/sqstdaux.cpp
parent962c1a3242e213a65078ed4217112978ddb0c613 (diff)
downloadopenttd-eb52e65beccd66e8ebdb1d8897b609c331b21bcc.tar.xz
(svn r26777) -Codechange: use safe string functions in squirrel code as well, and prevent using the ones that are deemed unsafe
Diffstat (limited to 'src/3rdparty/squirrel/sqstdlib/sqstdaux.cpp')
-rw-r--r--src/3rdparty/squirrel/sqstdlib/sqstdaux.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/3rdparty/squirrel/sqstdlib/sqstdaux.cpp b/src/3rdparty/squirrel/sqstdlib/sqstdaux.cpp
index c4002bf2c..fcd3c33be 100644
--- a/src/3rdparty/squirrel/sqstdlib/sqstdaux.cpp
+++ b/src/3rdparty/squirrel/sqstdlib/sqstdaux.cpp
@@ -1,9 +1,14 @@
/* see copyright notice in squirrel.h */
+
+#include "../../../stdafx.h"
+
#include <squirrel.h>
#include <sqstdaux.h>
#include <assert.h>
#include <string.h>
+#include "../../../safeguards.h"
+
void sqstd_printcallstack(HSQUIRRELVM v)
{
SQPRINTFUNCTION pf = sq_getprintfunc(v);