Index: trunk/MagicSoft/Cosy/videodev/FilterLed.cc
===================================================================
--- trunk/MagicSoft/Cosy/videodev/FilterLed.cc	(revision 9439)
+++ trunk/MagicSoft/Cosy/videodev/FilterLed.cc	(revision 9515)
@@ -2,5 +2,8 @@
 
 #include <memory.h>   // memset
+#include <math.h>
 #include <iostream> // cout
+
+#include <TMath.h>
 
 #include "Led.h"
@@ -406,5 +409,5 @@
     
     // 254 because b<=max and not b<max
-    const double sdev = TMath::Sqrt(sq-sum*sum);
+    const double sdev = sqrt(sq-sum*sum);
     const byte   max  = sum+fCut*sdev>254 ? 254 : (byte)(sum+fCut*sdev);
 
