#include <simgear/compiler.h>
-#include STL_IOSTREAM
-
-#ifdef SG_HAVE_STD_INCLUDE
-# include <cerrno>
-#else
-# include <errno.h>
-#endif
+#include <iostream>
+#include <cerrno>
#if !defined( WIN32 ) || defined( __CYGWIN__) || defined( __CYGWIN32__ )
# include <termios.h>
// cout << "config.c_iflag = " << config.c_iflag << endl;
+ // disable LF expanded to CR-LF
+ config.c_oflag &= ~(ONLCR);
+
// disable software flow control
config.c_iflag &= ~(IXON | IXOFF | IXANY);