summaryrefslogtreecommitdiff
path: root/games-puzzle/xlogical/files/xlogical-1.0.8-gcc4.3.patch
blob: 967754265f463500fe58878c9ed2bfb4d4ad0110 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
--- a/gamelogic.cpp
+++ b/gamelogic.cpp
@@ -27,2 +27,3 @@
 #include<cctype>
+#include<cstdlib>
 
@@ -156,3 +157,3 @@
 
-	currentMap = NULL;
+	currentMap = (list< class Clevel_map *>::iterator)NULL;
 
--- a/levelmap.cpp
+++ b/levelmap.cpp
@@ -28,2 +28,3 @@
 #include <iostream>
+#include <cstdlib>
 
--- a/mapedit.cpp
+++ b/mapedit.cpp
@@ -28,2 +28,4 @@
 #include<vector>
+#include<cstring>
+#include<cstdlib>
 
--- a/modlist.cpp
+++ b/modlist.cpp
@@ -24,2 +24,3 @@
 #include <fstream>
+#include <cstdlib>
 
--- a/tile_spinner.cpp
+++ b/tile_spinner.cpp
@@ -25,2 +25,3 @@
 
+#include <cstdlib>
 // Application Includes