Added some includes to fix compilation problems with Sun Studio 12

(patch #1066 provided by inchworm).
This commit is contained in:
Mark de Wever 2008-05-07 17:57:47 +00:00
parent 7789f5e772
commit 78117f3e1c
6 changed files with 9 additions and 1 deletions

View file

@ -29,7 +29,9 @@ Version 1.5.0+svn:
the new widget library also uses it.
* Removed bug introduced in 1.5.0 that allowed use of :debug commands during
network play
* added some includes to fix compilation problems with Sun Studio 12
(patch #1066)
Version 1.5.0:
* campaigns:
* synchronize all campaign ids with their directory name

View file

@ -25,6 +25,7 @@
#include <cassert>
#include <set>
#include <string>
#include <cstring>
#include <vector>
std::map<Uint32, Uint32> recolor_range(const color_range& new_range, const std::vector<Uint32>& old_rgb){

View file

@ -21,6 +21,7 @@
#include <algorithm>
#include <sstream>
#include <string.h>
#include <ostream>
#include "config.hpp"
#include "gettext.hpp"
#include "log.hpp"

View file

@ -43,6 +43,7 @@ BPath be_path;
// for getenv
#include <cstdlib>
#include <cerrno>
#include <string>
#include <cstring>
#include <algorithm>
#include <fstream>

View file

@ -26,7 +26,9 @@
#endif /* HAVE_REVISION */
#include <cstdlib>
#include <string>
#include <sstream>
#include <ostream>
#define DBG_NG LOG_STREAM(debug, engine)
#define ERR_NG LOG_STREAM(err, engine)

View file

@ -26,6 +26,7 @@
#include <algorithm>
#include <ctime>
#include <sstream>
#include <streambuf>
namespace {