From 9ba81579ff8935dd2dc51578545e92d6109179a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Robert=20Kl=C3=B6fkorn?=
 <robertk@mathematik.uni-stuttgart.de>
Date: Wed, 23 Mar 2005 15:07:04 +0000
Subject: [PATCH] Include alls STL headers before namespace.

git-svn-id: https://dune.mathematik.uni-freiburg.de/svn/alugrid/trunk@153 0d966ed9-3843-0410-af09-ebfb50bd7c74
---
 src/stlheaders.h | 77 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 77 insertions(+)
 create mode 100644 src/stlheaders.h

diff --git a/src/stlheaders.h b/src/stlheaders.h
new file mode 100644
index 000000000..43669e55a
--- /dev/null
+++ b/src/stlheaders.h
@@ -0,0 +1,77 @@
+#ifndef __BSGRID_SYSTEMINCLUDES_HH__
+#define __BSGRID_SYSTEMINCLUDES_HH__
+
+// here we include all system header files, otherwise the we have to 
+// put the BernhardSchuppGrid namespace in every file of the original
+// source and we dont want to do that. so the idea is first to include 
+// the system header and then include the original BernhardSchuppGrid
+// sources within the namespace defined in bsinclude.hh
+
+#include <ulimit.h>
+#include <assert.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <malloc.h>
+#include <math.h>
+#include <limits.h>
+#include <time.h>
+
+#ifdef _BSGRID_PARALLEL_
+#include <mpi.h>
+#endif
+
+#include <rpc/rpc.h>
+
+#ifdef _ANSI_HEADER
+//  #include <c++/set>
+  #include <memory>
+  #include <iostream>
+  #include <fstream>
+  #include <vector>
+  #include <utility>
+  #include <functional>
+  #include <algorithm>
+  #include <list>
+  #include <iomanip>
+  #include <strstream>
+  #include <deque>
+  #include <stack>
+  #include <map>
+  #include <numeric>
+#else
+  #include <memory.h>
+  #include <iostream.h>
+  #include <fstream.h>
+  #include <vector.h>
+  #include <pair.h>
+  #include <function.h>
+  #include <algo.h>
+  #include <list.h>
+  #include <iomanip.h>
+  #include <strstream.h>
+  #include <deque.h>
+  #include <stack.h>
+  #include <map.h>
+#endif
+
+#ifdef _BSGRID_PARALLEL_
+// partitioning libs 
+//namespace METIS {
+extern "C" {
+#undef METISTITLE 
+#include <metis.h>
+}
+//}
+#ifdef VERSION 
+#define _VER_SAVE VERSION 
+#undef VERSION 
+#endif
+#include <party_lib.h>
+#ifdef VERSION 
+#define PARTY_LIB_H_INCLUDED
+#endif
+
+#endif
+
+
+#endif
-- 
GitLab