diff --git a/reco/L1/CbmL1Performance.cxx b/reco/L1/CbmL1Performance.cxx
index 2d80119cb2ca9581d6ba3df0654efd37f129cce8..129b4e1524727e3a8b6d40a607492761d982bfc3 100644
--- a/reco/L1/CbmL1Performance.cxx
+++ b/reco/L1/CbmL1Performance.cxx
@@ -53,6 +53,7 @@
 #include <list>
 #include <map>
 #include <vector>
+#include <cmath>
 
 #include <cmath>
 #include <math.h>