diff --git a/source/RobotAPI/components/EarlyVisionGraph/GraphLookupTable.cpp b/source/RobotAPI/components/EarlyVisionGraph/GraphLookupTable.cpp
index 8c12ae412613c0c409197f0ab864e439afbc97f5..c74c87aefdb17f3d23610cd203c8e2926034b500 100644
--- a/source/RobotAPI/components/EarlyVisionGraph/GraphLookupTable.cpp
+++ b/source/RobotAPI/components/EarlyVisionGraph/GraphLookupTable.cpp
@@ -12,7 +12,7 @@
 // *****************************************************************
 #include "GraphLookupTable.h"
 #include "MathTools.h"
-#include <float.h>
+#include <cfloat>
 
 // *****************************************************************
 // implementation of CGraphLookupTable
diff --git a/source/RobotAPI/components/EarlyVisionGraph/IntensityGraph.cpp b/source/RobotAPI/components/EarlyVisionGraph/IntensityGraph.cpp
index 0e07832ea410795d1581ac60731e787c9a7a6374..9291eea265ca07001abd41fa159a3533df9f7826 100644
--- a/source/RobotAPI/components/EarlyVisionGraph/IntensityGraph.cpp
+++ b/source/RobotAPI/components/EarlyVisionGraph/IntensityGraph.cpp
@@ -15,7 +15,7 @@
 //#include "MathTools.h"
 //#include "Base/DataStructures/Graph/GraphProcessor.h"
 
-#include <float.h>
+#include <cfloat>
 #include <fstream>
 
 // *****************************************************************
diff --git a/source/RobotAPI/components/EarlyVisionGraph/MathTools.cpp b/source/RobotAPI/components/EarlyVisionGraph/MathTools.cpp
index 6fe849d71ce8543392472578af0181113881d020..202c397c4ce6155f18cb2993a90cd604f63e5d1d 100644
--- a/source/RobotAPI/components/EarlyVisionGraph/MathTools.cpp
+++ b/source/RobotAPI/components/EarlyVisionGraph/MathTools.cpp
@@ -11,7 +11,7 @@
 // includes
 // *****************************************************************
 #include "MathTools.h"
-#include <math.h>
+#include <cmath>
 //#include "Base/Tools/DebugMemory.h"