// do some test relating to the concept of "up"
-#include <simgear/compiler.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
-#include STL_IOSTREAM
+#include <simgear/compiler.h>
-#include <plib/sg.h>
+#include <iostream>
#include <simgear/constants.h>
#include <simgear/math/sg_geodesy.hxx>
-#if !defined(SG_HAVE_NATIVE_SGI_COMPILERS)
-SG_USING_STD(cout);
-SG_USING_STD(endl);
-#endif
+using std::cout;
+using std::endl;
int main() {
// for each lat/lon given in goedetic coordinates, calculate