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,8 @@
 
 #include "stratagus.h"
 #include "pathfinder.h"
+#include <stdlib.h> /* for abs() */
+#include <stdio.h>
 
 /*----------------------------------------------------------------------------
 --  Declarations
diff -up boswars-2.5-src/engine/stratagus/translate.cpp~ boswars-2.5-src/engine/stratagus/translate.cpp
--- boswars-2.5-src/engine/stratagus/translate.cpp~	2008-01-27 00:02:54.000000000 +0100
+++ boswars-2.5-src/engine/stratagus/translate.cpp	2009-02-21 10:27:02.000000000 +0100
@@ -36,6 +36,7 @@
 
 #include <map>
 #include <string>
+#include <cstdio>
 
 #include "translate.h"
 #include "iolib.h"