diff -Naur glest-source-3.2.2/glest_game/ai/ai_rule.cpp glest-source-3.2.2.tpg/glest_game/ai/ai_rule.cpp --- glest-source-3.2.2/glest_game/ai/ai_rule.cpp 2009-02-13 15:52:24.000000000 +0000 +++ glest-source-3.2.2.tpg/glest_game/ai/ai_rule.cpp 2009-09-20 16:40:01.000000000 +0000 @@ -11,6 +11,7 @@ #include "ai_rule.h" #include <algorithm> +#include <limits.h> #include "ai.h" #include "ai_interface.h" diff -Naur glest-source-3.2.2/shared_lib/sources/platform/posix/socket.cpp glest-source-3.2.2.tpg/shared_lib/sources/platform/posix/socket.cpp --- glest-source-3.2.2/shared_lib/sources/platform/posix/socket.cpp 2009-04-03 17:40:41.000000000 +0000 +++ glest-source-3.2.2.tpg/shared_lib/sources/platform/posix/socket.cpp 2009-09-20 16:39:08.000000000 +0000 @@ -9,6 +9,7 @@ #include "socket.h" #include <cstring> +#include <cstdio> #include <cstdlib> #include <stdexcept> #include <sstream>