#include <base/point.h>
#include <base/vector2d.h>
#include <grid/geometry_info.h>
-#include <iostream>
#include <vector>
#include <string>
+// we only need output streams, but older compilers did not provide
+// them in a separate include file
+#ifdef HAVE_STD_OSTREAM_HEADER
+# include <ostream>
+#else
+# include <iostream>
+#endif
+
+
class ParameterHandler;
#include <base/config.h>
#include <exception>
-#include <iostream>
+
+// we only need output streams, but older compilers did not provide
+// them in a separate include file
+#ifdef HAVE_STD_OSTREAM_HEADER
+# include <ostream>
+#else
+# include <iostream>
+#endif
#ifndef __GNUC__
#include <string>
#include <stack>
-#include <iostream>
+
+// we only need output streams, but older compilers did not provide
+// them in a separate include file
+#ifdef HAVE_STD_OSTREAM_HEADER
+# include <ostream>
+#else
+# include <iostream>
+#endif
/**
#include <base/config.h>
+#include <base/exceptions.h>
+
#include <map>
#include <vector>
#include <string>
-#include <base/exceptions.h>
// public classes; to be declared below
#include <map>
#include <vector>
#include <string>
-#include <iostream>
-
#include <fstream>
+// we only need output streams, but older compilers did not provide
+// them in a separate include file
+#ifdef HAVE_STD_OSTREAM_HEADER
+# include <ostream>
+#else
+# include <iostream>
+#endif
+
+
/**
* Abstract base class for the @p{TableEntry} class. See there.
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams