Index: trunk/MagicSoft/Mars/mastro/MAstro.cc
===================================================================
--- trunk/MagicSoft/Mars/mastro/MAstro.cc	(revision 8907)
+++ trunk/MagicSoft/Mars/mastro/MAstro.cc	(revision 8954)
@@ -30,4 +30,6 @@
 ////////////////////////////////////////////////////////////////////////////
 #include "MAstro.h"
+
+#include <math.h>     // fmod on darwin
 
 #include <iostream>
