summaryrefslogtreecommitdiff
path: root/net-mgmt/arts++/files/patch-classes::include::ArtsAttribute.hh
blob: db2248da3ed90731c4d2029472c312d30867f3df (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
--- ./classes/include/ArtsAttribute.hh.orig	Mon Oct  2 13:05:14 2000
+++ ./classes/include/ArtsAttribute.hh	Wed Sep 25 16:38:10 2002
@@ -44,6 +44,7 @@
 #define _ARTSATTRIBUTE_HH_
 
 extern "C" {
+#include "artslocal.h"
 #include <sys/types.h>
 #include <assert.h>
   
@@ -51,7 +52,13 @@
 }
 
 #include <string>
-#include <istream.h>
+
+#ifdef HAVE_IOSTREAM
+# include <iostream>
+using namespace std;
+#else
+# include <istream.h>
+#endif
 
 //---------------------------------------------------------------------------
 //                 Object Attribute Identifiers