]> git.mxchange.org Git - flightgear.git/blobdiff - Time/sunpos.hxx
Changes contributed by Durk Talsma:
[flightgear.git] / Time / sunpos.hxx
index fec2686584c9b41214b7a50565f2cc238c1fcb95..c1a57b83bebfe3ebb4259e19ecbd1f9f07f1386e 100644 (file)
 # 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);