mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-08-28 19:13:41 +03:00
86 lines
2.5 KiB
Diff
86 lines
2.5 KiB
Diff
|
Index: supertux-0.1.3/src/badguy.cpp
|
||
|
===================================================================
|
||
|
--- supertux-0.1.3.orig/src/badguy.cpp
|
||
|
+++ supertux-0.1.3/src/badguy.cpp
|
||
|
@@ -21,6 +21,7 @@
|
||
|
// 02111-1307, USA.
|
||
|
|
||
|
#include <iostream>
|
||
|
+#include <cstdlib>
|
||
|
#include <math.h>
|
||
|
|
||
|
#include "globals.h"
|
||
|
Index: supertux-0.1.3/src/configfile.cpp
|
||
|
===================================================================
|
||
|
--- supertux-0.1.3.orig/src/configfile.cpp
|
||
|
+++ supertux-0.1.3/src/configfile.cpp
|
||
|
@@ -18,7 +18,7 @@
|
||
|
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||
|
|
||
|
#include <stdlib.h>
|
||
|
-#include <string>
|
||
|
+#include <cstring>
|
||
|
#include "configfile.h"
|
||
|
#include "setup.h"
|
||
|
#include "globals.h"
|
||
|
Index: supertux-0.1.3/src/gameobjs.cpp
|
||
|
===================================================================
|
||
|
--- supertux-0.1.3.orig/src/gameobjs.cpp
|
||
|
+++ supertux-0.1.3/src/gameobjs.cpp
|
||
|
@@ -19,6 +19,7 @@
|
||
|
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||
|
// 02111-1307, USA.
|
||
|
#include <algorithm>
|
||
|
+#include <cstring>
|
||
|
#include "world.h"
|
||
|
#include "tile.h"
|
||
|
#include "gameloop.h"
|
||
|
Index: supertux-0.1.3/src/particlesystem.cpp
|
||
|
===================================================================
|
||
|
--- supertux-0.1.3.orig/src/particlesystem.cpp
|
||
|
+++ supertux-0.1.3/src/particlesystem.cpp
|
||
|
@@ -20,6 +20,7 @@
|
||
|
#include "particlesystem.h"
|
||
|
|
||
|
#include <iostream>
|
||
|
+#include <cstdlib>
|
||
|
#include <math.h>
|
||
|
#include "globals.h"
|
||
|
#include "world.h"
|
||
|
Index: supertux-0.1.3/src/sprite_manager.cpp
|
||
|
===================================================================
|
||
|
--- supertux-0.1.3.orig/src/sprite_manager.cpp
|
||
|
+++ supertux-0.1.3/src/sprite_manager.cpp
|
||
|
@@ -18,6 +18,7 @@
|
||
|
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||
|
|
||
|
#include <iostream>
|
||
|
+#include <cstring>
|
||
|
#include "lispreader.h"
|
||
|
#include "sprite_manager.h"
|
||
|
|
||
|
Index: supertux-0.1.3/src/tile.cpp
|
||
|
===================================================================
|
||
|
--- supertux-0.1.3.orig/src/tile.cpp
|
||
|
+++ supertux-0.1.3/src/tile.cpp
|
||
|
@@ -21,6 +21,7 @@
|
||
|
#include "tile.h"
|
||
|
#include "scene.h"
|
||
|
#include "assert.h"
|
||
|
+#include <cstring>
|
||
|
|
||
|
TileManager* TileManager::instance_ = 0;
|
||
|
std::set<TileGroup>* TileManager::tilegroups_ = 0;
|
||
|
Index: supertux-0.1.3/src/worldmap.cpp
|
||
|
===================================================================
|
||
|
--- supertux-0.1.3.orig/src/worldmap.cpp
|
||
|
+++ supertux-0.1.3/src/worldmap.cpp
|
||
|
@@ -20,6 +20,7 @@
|
||
|
#include <iostream>
|
||
|
#include <fstream>
|
||
|
#include <vector>
|
||
|
+#include <cstring>
|
||
|
#include <assert.h>
|
||
|
#include <unistd.h>
|
||
|
#include "globals.h"
|