Blob Blame History Raw
diff -up boswars-2.4.1-src/engine/stratagus/stratagus.cpp~ boswars-2.4.1-src/engine/stratagus/stratagus.cpp
--- boswars-2.4.1-src/engine/stratagus/stratagus.cpp~	2008-01-12 13:45:20.000000000 +0100
+++ boswars-2.4.1-src/engine/stratagus/stratagus.cpp	2008-01-12 13:45:20.000000000 +0100
@@ -161,6 +161,7 @@
 #include <time.h>
 #include <ctype.h>
 #include <sstream>
+#include <algorithm>
 
 #ifndef _MSC_VER
 #include <unistd.h>
diff -up boswars-2.5-src/engine/pathfinder/astar.cpp~ boswars-2.5-src/engine/pathfinder/astar.cpp
--- boswars-2.5-src/engine/pathfinder/astar.cpp~	2008-03-02 09:23:48.000000000 +0100
+++ boswars-2.5-src/engine/pathfinder/astar.cpp	2008-03-02 09:23:48.000000000 +0100
@@ -35,6 +35,7 @@
 
 #include "stratagus.h"
 #include "pathfinder.h"
+#include <stdlib.h> /* for abs() */
 
 /*----------------------------------------------------------------------------
 --  Declarations