summaryrefslogtreecommitdiff
path: root/net-mgmt/arts++/files/patch-apps::artsnetagg::artsnetagg.cc
blob: 59867d94b72e7bc51ccf5909ef62213dd52b7a0d (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
--- ./apps/artsnetagg/artsnetagg.cc.orig	Mon Oct  2 13:05:11 2000
+++ ./apps/artsnetagg/artsnetagg.cc	Wed Sep 25 16:38:09 2002
@@ -50,13 +50,18 @@
 #include <errno.h>
 }
 
-#include <fstream.h>
-#include <string>
-
 #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
 
 extern int   errno;