*/
-#ifndef SUNPOS_H
-#define SUNPOS_H
+#ifndef _SUNPOS_H
+#define _SUNPOS_H
-#include <sys/time.h>
+#include <time.h>
+#include <Include/fg_types.h>
-/* given a particular time (expressed in seconds since the unix
- * epoch), compute position on the earth (lat, lon) such that sun is
- * directly overhead. (lat, lon are reported in radians */
+/* update the cur_time_params structure with the current sun position */
+void fgUpdateSunPos( void );
void fgSunPosition(time_t ssue, double *lon, double *lat);
-#endif /* SUNPOS_H */
+#endif /* _SUNPOS_H */