# error This library requires C++
#endif
-#include "Include/compiler.h"
-#ifdef FG_HAVE_STD_INCLUDES
+#include <simgear/compiler.h>
+
+#ifdef SG_HAVE_STD_INCLUDES
# include <ctime>
+# ifdef macintosh
+ SG_USING_STD(time_t);
+# endif
#else
# include <time.h>
#endif
void fgMoonPosition(time_t ssue, double *lon, double *lat);
-#endif /* _MOONPOS_H */
+#endif /* _MOONPOS_HXX */