# include <config.h>
#endif
+#include <simgear/compiler.h>
+
#include <stdio.h>
-#include <iostream>
+#include STL_IOSTREAM
#include <plib/sg.h>
#include <plib/ssg.h>
#include "stars.hxx"
-FG_USING_STD(cout);
-FG_USING_STD(endl);
+#if !defined (SG_HAVE_NATIVE_SGI_COMPILERS)
+SG_USING_STD(cout);
+SG_USING_STD(endl);
+#endif
// Set up star rendering call backs