--- sear-0.6.3/environment/TerrainRenderer.cpp.orig 2008-02-11 07:32:40.000000000 -0800 +++ sear-0.6.3/environment/TerrainRenderer.cpp 2008-02-11 07:33:18.000000000 -0800 @@ -24,6 +24,7 @@ #include <Mercator/Surface.h> #include <iostream> +#include <limits> namespace Sear { --- sear-0.6.3/loaders/SearObject.cpp.orig 2008-02-09 22:51:08.000000000 -0800 +++ sear-0.6.3/loaders/SearObject.cpp 2008-02-09 22:51:22.000000000 -0800 @@ -22,6 +22,8 @@ #include "SearObject.h" #include "SearObjectTypes.h" +#include <limits> + #ifdef DEBUG static const bool debug = true; #else --- sear-0.6.3/loaders/StaticObject.h.orig 2008-02-09 18:41:17.000000000 -0800 +++ sear-0.6.3/loaders/StaticObject.h 2008-02-09 18:41:28.000000000 -0800 @@ -6,6 +6,7 @@ #define SEAR_RENDERERS_STATICOBJECT_H 1 #include <vector> +#include <cstring> #include <sage/GL.h> #include "common/Matrix.h" --- sear-0.6.3/loaders/LibModelFile.cpp.orig 2008-02-09 22:47:24.000000000 -0800 +++ sear-0.6.3/loaders/LibModelFile.cpp 2008-02-09 22:47:40.000000000 -0800 @@ -35,6 +35,8 @@ #include "StaticObject.h" +#include <limits> + #ifdef DEBUG static const bool debug = true; #else --- sear-0.6.3/loaders/3ds.cpp.orig 2008-02-09 22:47:47.000000000 -0800 +++ sear-0.6.3/loaders/3ds.cpp 2008-02-09 22:47:59.000000000 -0800 @@ -21,6 +21,7 @@ #include <list> #include <map> #include <algorithm> +#include <limits> #include <sigc++/object_slot.h> --- sear-0.6.3/gui/Button.h.orig 2008-02-11 08:23:33.000000000 -0800 +++ sear-0.6.3/gui/Button.h 2008-02-11 08:23:42.000000000 -0800 @@ -8,6 +8,7 @@ #include "gui/Container.h" #include <sigc++/signal.h> +#include <string> namespace Sear { --- sear-0.6.3/gui/Label.h.orig 2008-02-11 07:59:32.000000000 -0800 +++ sear-0.6.3/gui/Label.h 2008-02-11 07:59:41.000000000 -0800 @@ -24,7 +24,7 @@ explicit Label(const std::string & text); virtual ~Label(); - virtual void map(Window * w, int x, int y, int & w, int & h); + virtual void map(Window * win, int x, int y, int & w, int & h); }; } // namespace Sear --- sear-0.6.3/src/CacheObject.cpp.orig 2008-02-11 08:26:53.000000000 -0800 +++ sear-0.6.3/src/CacheObject.cpp 2008-02-11 08:27:01.000000000 -0800 @@ -5,6 +5,7 @@ // $Id: CacheObject.cpp,v 1.2 2006/04/26 14:39:00 simon Exp $ #include "CacheObject.h" +#include <cstring> namespace Sear { --- sear-0.6.3/renderers/Light.h.orig 2008-02-10 10:45:41.000000000 -0800 +++ sear-0.6.3/renderers/Light.h 2008-02-10 10:46:10.000000000 -0800 @@ -8,6 +8,7 @@ #define SEAR_LIGHT_H 1 #include <wfmath/point.h> +#include <cstring> namespace Sear {