Salome HOME
Add some missing math.h include (fix compilation error).
authorPascal Obry <pascal.obry@edf.fr>
Mon, 27 Jun 2022 07:21:59 +0000 (09:21 +0200)
committerPascal Obry <pascal.obry@edf.fr>
Mon, 27 Jun 2022 07:24:24 +0000 (09:24 +0200)
src/SVTK/SVTK_Recorder.cxx
src/VTKViewer/VTKViewer_Transform.cxx

index ba196d7cd132719a4303d2bb307e2257b10ab3ce..a3cc821dabe08844b1499635d276ffc0397a3271 100644 (file)
@@ -34,6 +34,7 @@
 #include <sstream>
 #include <iomanip>
 #include <iostream>
+#include <math.h>
 
 #ifndef WIN32
 #include <unistd.h>
index 23f7187b6fc97371b4424252f142611026bd5704..5a91d4dc8841cbc6eaeedfe401d21f8ee42391b5 100644 (file)
@@ -30,6 +30,8 @@
 #include <vtkObjectFactory.h>
 #include <vtkMatrix4x4.h>
 
+#include <math.h>
+
 static double EPS = 10e-4;