From 5f43fcf7f5ebdc4d93a8547190b824cf45ea1255 Mon Sep 17 00:00:00 2001 From: Simon Rit Date: Tue, 3 Jul 2012 09:27:14 +0200 Subject: [PATCH] Missing test on VTK version for vtkMapper --- vv/vvSlicer.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vv/vvSlicer.cxx b/vv/vvSlicer.cxx index a3712a0..1e133d6 100644 --- a/vv/vvSlicer.cxx +++ b/vv/vvSlicer.cxx @@ -66,7 +66,9 @@ #include #include #include -#include +#if VTK_MAJOR_VERSION >= 6 || (VTK_MAJOR_VERSION >= 5 && VTK_MINOR_VERSION >= 10) +# include +#endif vtkCxxRevisionMacro(vvSlicer, "DummyRevision"); vtkStandardNewMacro(vvSlicer); -- 2.47.1