Index: trunk/MagicSoft/Mars/mdata/MDataChain.cc
===================================================================
--- trunk/MagicSoft/Mars/mdata/MDataChain.cc	(revision 8892)
+++ trunk/MagicSoft/Mars/mdata/MDataChain.cc	(revision 8907)
@@ -168,4 +168,6 @@
 #include <stdlib.h>       // strtod, ...
 
+#include <TMath.h>
+#include <TClass.h>
 #include <TRegexp.h>
 #include <TRandom.h>
Index: trunk/MagicSoft/Mars/mdata/MDataList.cc
===================================================================
--- trunk/MagicSoft/Mars/mdata/MDataList.cc	(revision 8892)
+++ trunk/MagicSoft/Mars/mdata/MDataList.cc	(revision 8907)
@@ -31,4 +31,6 @@
 #include "MDataList.h"
 
+#include <math.h>
+
 #include "MLog.h"
 #include "MLogManip.h"
Index: trunk/MagicSoft/Mars/mdata/MDataPhrase.cc
===================================================================
--- trunk/MagicSoft/Mars/mdata/MDataPhrase.cc	(revision 8892)
+++ trunk/MagicSoft/Mars/mdata/MDataPhrase.cc	(revision 8907)
@@ -18,5 +18,5 @@
 !   Author(s): Thomas Bretz, 04/2004 <mailto:tbretz@astro.uni-wuerzburg.de>
 !
-!   Copyright: MAGIC Software Development, 2000-2006
+!   Copyright: MAGIC Software Development, 2000-2008
 !
 !
@@ -111,4 +111,5 @@
 #include "MDataPhrase.h"
 
+#include <TMath.h>
 #include <TArrayI.h>
 #include <TPRegexp.h>
@@ -677,4 +678,13 @@
 }
 
+// --------------------------------------------------------------------------
+//
+// Return the value converted to a Bool_t
+//
+Bool_t MDataPhrase::GetBool() const
+{
+    return TMath::Nint(GetValue())!=0;
+}
+
 /*
 // --------------------------------------------------------------------------
Index: trunk/MagicSoft/Mars/mdata/MDataPhrase.h
===================================================================
--- trunk/MagicSoft/Mars/mdata/MDataPhrase.h	(revision 8892)
+++ trunk/MagicSoft/Mars/mdata/MDataPhrase.h	(revision 8907)
@@ -16,5 +16,4 @@
 class TFormula;
 class MParList;
-
 
 class MDataPhrase : public MData
@@ -60,5 +59,5 @@
 
     // MDataPhrase
-    Bool_t   GetBool() const { return TMath::Nint(GetValue())!=0; }
+    Bool_t   GetBool() const;
     Bool_t   SetRule(const TString &phrase);
 
