// 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>
+using std::cout;
+using std::endl;
+
int main() {
// for each lat/lon given in goedetic coordinates, calculate
// geocentric coordinates, cartesian coordinates, the local "up"