--- src/PropertyManager.cc.old 2009-05-22 10:50:04.000000000 +0200 +++ src/PropertyManager.cc 2009-05-22 10:50:30.000000000 +0200 @@ -28,6 +28,7 @@ #include "XMLtoLocal.hh" #include "XMLtoUtf8.hh" #include "ecl_system.hh" +#include #include #include #include --- src/StateManager.cc.old 2009-05-22 10:52:13.000000000 +0200 +++ src/StateManager.cc 2009-05-22 10:52:38.000000000 +0200 @@ -31,6 +31,7 @@ #include "XMLtoUtf8.hh" #include "ecl_system.hh" #include "gui/ErrorMenu.hh" +#include #include #include #include --- src/gui/LevelPackComposer.cc.old 2009-05-22 10:53:46.000000000 +0200 +++ src/gui/LevelPackComposer.cc 2009-05-22 10:54:24.000000000 +0200 @@ -28,6 +28,7 @@ #include "lev/Index.hh" #include "main.hh" +#include using namespace ecl; using namespace std; --- src/lev/Index.cc.old 2009-05-22 10:55:16.000000000 +0200 +++ src/lev/Index.cc 2009-05-22 10:55:41.000000000 +0200 @@ -26,6 +26,7 @@ #include "StateManager.hh" #include "lev/ScoreManager.hh" #include "lev/RatingManager.hh" +#include namespace enigma { namespace lev { --- src/lua.cc.old 2009-05-28 09:43:36.000000000 +0200 +++ src/lua.cc 2009-05-28 09:44:22.000000000 +0200 @@ -574,7 +574,7 @@ int y = round_down(lua_tonumber(L, 2)); const char *dir = lua_tostring(L,3); const char *allowed = "wsen"; - char *found = strchr(allowed, dir[0]); + const char *found = strchr(allowed, dir[0]); if (found && found[0]) world::AddScramble(GridPos(x,y), enigma::Direction(found-allowed));