File xbase-2.0.0-iostream_h.patch of Package xbase
--- html/xbase_c4.html
+++ html/xbase_c4.html
@@ -94,7 +94,8 @@
<h2>Sample Program</h2>
<xmp>
-#include <iostream.h>
+#include <iostream>
+using namespace std;
#include <xbase/xbase.h>
main()
--- tv/tvxbase.cpp
+++ tv/tvxbase.cpp
@@ -23,7 +23,8 @@
Foundation, Inc., or see http://www.gnu.org/.
*/
-#include <iostream.h>
+#include <iostream>
+using namespace std;
#define Uses_TApplication
#define Uses_TButton
--- xbase/dbf.h
+++ xbase/dbf.h
@@ -65,7 +65,8 @@
#include <xbase/xtypes.h>
#include <xbase/xdate.h>
-#include <iostream.h>
+#include <iostream>
+using namespace std;
#include <stdio.h>
/*! \file dbf.h
--- xbase/ndx.cpp
+++ xbase/ndx.cpp
@@ -66,7 +66,8 @@
#endif
#include <xbase/xbase.h>
-#include <iostream.h>
+#include <iostream>
+using namespace std;
#ifdef XB_INDEX_NDX
--- xbase/stack.cpp
+++ xbase/stack.cpp
@@ -59,7 +59,8 @@
#include <string.h>
#include <stdlib.h>
-#include <iostream.h>
+#include <iostream>
+using namespace std;
#include <xbase/xstack.h>
--- xbase/xbstring.h
+++ xbase/xbstring.h
@@ -56,7 +56,8 @@
#endif
#include <stdlib.h>
-#include <iostream.h>
+#include <iostream>
+using namespace std;
/*! \file xbstring.h
*/