summaryrefslogtreecommitdiff
path: root/net-mgmt/arts++/files/patch-apps::artsasagg::artsasagg.cc
blob: ae2e9d321b25b6a35f8f140dc080eb5f14428ce3 (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
28
--- ./apps/artsasagg/artsasagg.cc.orig	Mon Oct  2 13:05:10 2000
+++ ./apps/artsasagg/artsasagg.cc	Wed Sep 25 16:38:09 2002
@@ -50,15 +50,21 @@
 #include <errno.h>
 }
 
-#include <fstream.h>
-#include <string>
-#include <map>
-
 #include "ArtsFileUtil.hh"
 #include "ArtsPackageVersion.hh"
 #ifndef NDEBUG
   #include "ArtsDebug.hh"
 #endif
+
+#ifdef HAVE_FSTREAM
+# include <fstream>
+# include <iterator>
+  using namespace std;
+#else
+# include <fstream.h>
+#endif
+#include <string>
+#include <map>
 
 extern int   errno;