aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/arts++/files/patch-apps::artsportms::artsportms.cc
blob: 5dc183cb9242708317b387645ca30dcb6e119936 (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
26
27
--- ./apps/artsportms/artsportms.cc.orig	Mon Oct  2 13:05:12 2000
+++ ./apps/artsportms/artsportms.cc	Wed Sep 25 16:38:09 2002
@@ -51,13 +51,21 @@
 #include <errno.h>
 }
 
-#include <fstream.h>
-#include <string>
-
 #include "ArtsPortMatrix.hh"
 #include "ArtsIfIndexSelectionSet.hh"
 #include "ArtsTimeIntervalSelectionSet.hh"
 #include "ArtsPackageVersion.hh"
+
+#ifdef HAVE_FSTREAM
+# include <fstream>
+# include <iterator>
+  using namespace std;
+#else
+# include <fstream.h>
+#endif
+
+#include <string>
+
 
 #ifndef NDEBUG
   #include "ArtsDebug.hh"