/*
- * sunpos.hxx
+ * sunpos.hxx (taken from XEarth)
* kirk johnson
* july 1993
*
# error This library requires C++
#endif
-
-#include <time.h>
-
-#include <Include/fg_types.h>
+#include "Include/compiler.h"
+#ifdef FG_HAVE_STD_INCLUDES
+# include <ctime>
+#else
+# include <time.h>
+#endif
/* update the cur_time_params structure with the current sun position */
void fgUpdateSunPos( void );
+/* update the cur_time_params structure with the current moon position */
+void fgUpdateMoonPos( void );
+
void fgSunPosition(time_t ssue, double *lon, double *lat);