From 2b017a68959d768ee917128bbdaa42439911ef43 Mon Sep 17 00:00:00 2001 From: Ingo Ruhnke Date: Tue, 12 Aug 2014 10:49:54 +0200 Subject: [PATCH] Added missing includes to Squirrel and SuperTux to make -DENABLE_SQDBG=ON compile, fixes #575 --- external/squirrel/sqdbg/sqdbgserver.cpp | 3 +++ external/squirrel/sqdbg/sqrdbg.cpp | 2 ++ src/scripting/squirrel_util.cpp | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/external/squirrel/sqdbg/sqdbgserver.cpp b/external/squirrel/sqdbg/sqdbgserver.cpp index 022741225..6009e0ac7 100644 --- a/external/squirrel/sqdbg/sqdbgserver.cpp +++ b/external/squirrel/sqdbg/sqdbgserver.cpp @@ -1,3 +1,6 @@ +#include +#include +#include #include #include #include diff --git a/external/squirrel/sqdbg/sqrdbg.cpp b/external/squirrel/sqdbg/sqrdbg.cpp index 7bf3b382a..1a085cd2e 100644 --- a/external/squirrel/sqdbg/sqrdbg.cpp +++ b/external/squirrel/sqdbg/sqrdbg.cpp @@ -1,6 +1,8 @@ /* see copyright notice in sqrdbg.h */ +#include +#include #include #include "sqrdbg.h" #include "sqdbgserver.h" diff --git a/src/scripting/squirrel_util.cpp b/src/scripting/squirrel_util.cpp index d3e50e07b..2c863905d 100644 --- a/src/scripting/squirrel_util.cpp +++ b/src/scripting/squirrel_util.cpp @@ -30,7 +30,7 @@ #include "util/log.hpp" #ifdef ENABLE_SQDBG - +# include "../../external/squirrel/sqdbg/sqrdbg.h" static HSQREMOTEDBG debugger = NULL; #endif -- 2.11.0