aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/arts++/files/patch-apps::artsportagg::artsportagg.cc
blob: 6c37fc981a2a77f689183ac93f64a2d01d9264d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- ./apps/artsportagg/artsportagg.cc.orig	Mon Oct  2 13:05:12 2000
+++ ./apps/artsportagg/artsportagg.cc	Wed Sep 25 16:38:09 2002
@@ -50,14 +50,19 @@
 #include <errno.h>
 }
 
-#include <fstream.h>
-#include <string>
-
 #include "ArtsPortTableAggregator.hh"
 #include "Arts.hh"
 #include "ArtsPortTableAggregatorMapKey.hh"
 #ifndef NDEBUG
   #include "ArtsDebug.hh"
+#endif
+
+#ifdef HAVE_FSTREAM
+# include <fstream>
+# include <iterator>
+  using namespace std;
+#else
+# include <fstream.h>
 #endif
 
 extern char *tzname[2];