Fix warnings on FreeBSD
[oweals/cde.git] / cde / programs / ttsnoop / tt_c++.h
index 91859c5e0519cbdc9c8163687a4acc674ed77cb8..a7af12ac0b46dd923b1a1317558f651077bc5c31 100644 (file)
@@ -16,7 +16,7 @@
  * details.
  *
  * You should have received a copy of the GNU Lesser General Public
- * License along with these librararies and programs; if not, write
+ * License along with these libraries and programs; if not, write
  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
  * Floor, Boston, MA 02110-1301 USA
  */
 #ifndef TT_CXX_H
 #define TT_CXX_H
 
+#if defined(__linux__) || defined(CSRG_BASED) || defined(sun)
+#include <iostream>
+using namespace std;
+#else
 #include <iostream.h>
+#endif
+
 #include <Tt/tt_c.h>
 
 ostream &      operator<<( ostream &, Tt_status );