]> git.mxchange.org Git - flightgear.git/blobdiff - Time/sunpos.hxx
Changes contributed by Durk Talsma:
[flightgear.git] / Time / sunpos.hxx
index 878dde13097104da7f10ede9d77c8abdaaa739a4..c1a57b83bebfe3ebb4259e19ecbd1f9f07f1386e 100644 (file)
 # error This library requires C++
 #endif                                   
 
-
-#include <time.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);