aboutsummaryrefslogtreecommitdiff
blob: ba99c35475d5f44a763fc333139dc5efacf7f6f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
https://cgit.freebsd.org/ports/plain/devel/gdcm/files/patch-Utilities_VTK_vtkImageMapToWindowLevelColors2.cxx?id=8f5541298099b722e34632ca9ed388bda91064e7

- workaround for https://sourceforge.net/p/gdcm/bugs/536/

--- a/Utilities/VTK/vtkImageMapToWindowLevelColors2.cxx	2022-06-26 20:39:45 UTC
+++ b/Utilities/VTK/vtkImageMapToWindowLevelColors2.cxx
@@ -37,6 +37,8 @@
 #include "vtkScalarsToColors.h"
 #include "vtkPointData.h"
 
+#include <math.h>
+
 //vtkCxxRevisionMacro(vtkImageMapToWindowLevelColors2, "$Revision: 1.3 $")
 vtkStandardNewMacro(vtkImageMapToWindowLevelColors2)