#include <simgear/compiler.h>
-#include <iostream>
#include <math.h>
-FG_USING_STD(cout);
-FG_USING_STD(endl);
+#include STL_IOSTREAM
+
+#if !defined(SG_HAVE_NATIVE_SGI_COMPILERS)
+SG_USING_STD(cout);
+SG_USING_STD(endl);
+#endif
// ------------------------------------------------------------------------
// CODE