summaryrefslogtreecommitdiff
path: root/net-mgmt/arts++/files/patch-classes::include::ArtsPrimitive.hh
blob: 5556ff8521e17e5c5a08d3463b9f20e8179bf6e7 (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
--- ./classes/include/ArtsPrimitive.hh.orig	Mon Oct  2 13:05:19 2000
+++ ./classes/include/ArtsPrimitive.hh	Wed Sep 25 16:38:10 2002
@@ -43,13 +43,19 @@
 #ifndef _ARTSPRIMITIVE_HH_
 #define _ARTSPRIMITIVE_HH_
 
-#include <iostream.h>
 
 extern "C" {
+#include "artslocal.h"
 #include "caida_t.h"
 #include <unistd.h>
 }
 
+#ifdef HAVE_IOSTREAM
+# include <iostream>
+ using namespace std;
+#else
+# include <iostream.h>
+#endif
 //---------------------------------------------------------------------------
 //  class ArtsPrimitive
 //---------------------------------------------------------------------------