diff --git a/MathLib/MathTools.cpp b/MathLib/MathTools.cpp
index 9ff66e77ada39190272ef91a308f0b74da481d62..5c0aa63848c90ccce1f5d90905b475d68c4bfdf1 100644
--- a/MathLib/MathTools.cpp
+++ b/MathLib/MathTools.cpp
@@ -12,6 +12,8 @@
  *
  */
 
+#include <cmath>
+
 #include "MathTools.h"
 
 namespace MathLib