Index: /trunk/Mars/mcore/fits.h
===================================================================
--- /trunk/Mars/mcore/fits.h	(revision 19654)
+++ /trunk/Mars/mcore/fits.h	(revision 19655)
@@ -48,5 +48,5 @@
 #else
 #include <fstream>
-#define izstream ifstream
+#define izstream std::ifstream
 #warning Support for zipped FITS files disabled.
 #endif
Index: /trunk/Mars/mcore/nova.h
===================================================================
--- /trunk/Mars/mcore/nova.h	(revision 19654)
+++ /trunk/Mars/mcore/nova.h	(revision 19655)
@@ -179,4 +179,15 @@
     }
 
+    inline int GetObjectRst(RstTime &rst, const EquPosn &equ, const LnLatPosn &obs, const double &jd, const double &hrz=0)
+    {
+        // 0 for success, 1 for circumpolar (above the horizon), -1 for circumpolar (bellow the horizon)
+        return ln_get_object_next_rst_horizon(jd, const_cast<LnLatPosn*>(&obs), const_cast<EquPosn*>(&equ), hrz, &rst);
+    }
+    inline int GetObjectRst(RstTime &rst, const EquPosn &equ, const double &jd, const double &hrz=0)
+    {
+        // 0 for success, 1 for circumpolar (above the horizon), -1 for circumpolar (bellow the horizon)
+        return GetObjectRst(rst, equ, PRESET_OBSERVATORY, jd, hrz);
+    }
+
     inline RstTime GetSolarRst(const double &jd, const LnLatPosn &obs, const double &hrz=kSolarStandardHorizon)
     {
@@ -185,4 +196,5 @@
         return rst;
     }
+
     inline RstTime GetSolarRst(const double &jd, const double &hrz=kSolarStandardHorizon)
     {
