Added missing includes to Squirrel and SuperTux to make -DENABLE_SQDBG=ON compile...
authorIngo Ruhnke <grumbel@gmail.com>
Tue, 12 Aug 2014 08:49:54 +0000 (10:49 +0200)
committerIngo Ruhnke <grumbel@gmail.com>
Tue, 12 Aug 2014 09:00:52 +0000 (11:00 +0200)
external/squirrel/sqdbg/sqdbgserver.cpp
external/squirrel/sqdbg/sqrdbg.cpp
src/scripting/squirrel_util.cpp

index 0227412..6009e0a 100644 (file)
@@ -1,3 +1,6 @@
+#include <stdio.h>
+#include <string.h>
+#include <stdlib.h>
 #include <squirrel.h>
 #include <assert.h>
 #include <sqstdblob.h>
index 7bf3b38..1a085cd 100644 (file)
@@ -1,6 +1,8 @@
 /*
        see copyright notice in sqrdbg.h
 */
+#include <string.h>
+#include <stdio.h>
 #include <squirrel.h>
 #include "sqrdbg.h"
 #include "sqdbgserver.h"
index d3e50e0..2c86390 100644 (file)
@@ -30,7 +30,7 @@
 #include "util/log.hpp"
 
 #ifdef ENABLE_SQDBG
-
+#  include "../../external/squirrel/sqdbg/sqrdbg.h"
 static HSQREMOTEDBG debugger = NULL;
 #endif