From: Ingo Ruhnke Date: Tue, 12 Aug 2014 08:49:54 +0000 (+0200) Subject: Added missing includes to Squirrel and SuperTux to make -DENABLE_SQDBG=ON compile... X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=2b017a68959d768ee917128bbdaa42439911ef43;p=supertux.git Added missing includes to Squirrel and SuperTux to make -DENABLE_SQDBG=ON compile, fixes #575 --- 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