A new user interface for you! Read more...

File xlogical-1.0.8-gcc43.patch of Package xlogical

--- gamelogic.cpp
+++ gamelogic.cpp
@@ -25,6 +25,7 @@
 #include<fstream>
 #include<cstdio>
 #include<cctype>
+#include<cstdlib>
 
 #ifndef WIN32
 #include<unistd.h>
@@ -154,7 +155,7 @@
 		levelFile = NULL;
 	}
 
-	currentMap = NULL;
+	currentMap = (list< class Clevel_map *>::iterator)NULL;
 
 	playerName = new char[32+1];
 	strcpy( playerName, "nobody" );
--- levelmap.cpp
+++ levelmap.cpp
@@ -26,6 +26,7 @@
 #include <cstring>
 #include <ctime>
 #include <iostream>
+#include <cstdlib>
 
 #ifndef USE_HASH_MAP
 #include <map>
--- mapedit.cpp
+++ mapedit.cpp
@@ -26,6 +26,8 @@
 #include<cstdio>
 #include<list>
 #include<vector>
+#include<cstring>
+#include<cstdlib>
 
 #ifndef WIN32
 #include<unistd.h>
--- modlist.cpp
+++ modlist.cpp
@@ -22,6 +22,7 @@
 
 #include <iostream>
 #include <fstream>
+#include <cstdlib>
 
 #ifdef WIN32
 #include <afxwin.h>
--- tile_spinner.cpp
+++ tile_spinner.cpp
@@ -23,6 +23,8 @@
 
 
 
+#include <cstdlib>
+
 // Application Includes
 #include "audio.h"
 #include "properties.h"