Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 9369)
+++ trunk/MagicSoft/Mars/Changelog	(revision 9370)
@@ -136,4 +136,7 @@
      - slightly changed palette
      - evaluate return of fwrite
+
+   * mbase/MQuaternion.h, msim/MPhotonData.h:
+     - added a workaround for sqrt in root 5.18/00
 
 
Index: trunk/MagicSoft/Mars/mbase/MQuaternion.h
===================================================================
--- trunk/MagicSoft/Mars/mbase/MQuaternion.h	(revision 9369)
+++ trunk/MagicSoft/Mars/mbase/MQuaternion.h	(revision 9370)
@@ -8,5 +8,8 @@
 
 #ifndef ROOT_TQuaternion
+#include <math.h>
+#define sqrt ::sqrt
 #include <TQuaternion.h>
+#undef sqrt
 #endif
 
Index: trunk/MagicSoft/Mars/mgeom/MGeomPix.cc
===================================================================
--- trunk/MagicSoft/Mars/mgeom/MGeomPix.cc	(revision 9369)
+++ trunk/MagicSoft/Mars/mgeom/MGeomPix.cc	(revision 9370)
@@ -66,4 +66,6 @@
 ClassImp(MGeomPix);
 
+using namespace std;
+
 const Float_t MGeomPix::gsTan30 = TMath::Sqrt(3)/3;  //TMath::Tan(TMath::DegToRad()*30);
 const Float_t MGeomPix::gsTan60 = TMath::Sqrt(3);    //TMath::Tan(TMath::DegToRad()*60);
Index: trunk/MagicSoft/Mars/msim/MPhotonData.h
===================================================================
--- trunk/MagicSoft/Mars/msim/MPhotonData.h	(revision 9369)
+++ trunk/MagicSoft/Mars/msim/MPhotonData.h	(revision 9370)
@@ -15,5 +15,8 @@
 
 #ifndef ROOT_TQuaternion
+#include <math.h>
+#define sqrt ::sqrt
 #include <TQuaternion.h>
+#undef sqrt
 #endif
 
