From 221e4a0cfc61c81e7048e389fe8983b16cbd188d Mon Sep 17 00:00:00 2001
From: Manuel Grizonnet <manuel.grizonnet@gmail.com>
Date: Tue, 22 Sep 2009 13:07:55 +0200
Subject: [PATCH] BUG: add labelmap.h include to binaryimagetolabelmapfilter
 and otbmacro.h to convolutionimagefilter

---
 Code/BasicFilters/otbConvolutionImageFilter.txx            | 2 ++
 Utilities/ITK/Code/Review/itkBinaryImageToLabelMapFilter.h | 3 +++
 2 files changed, 5 insertions(+)

diff --git a/Code/BasicFilters/otbConvolutionImageFilter.txx b/Code/BasicFilters/otbConvolutionImageFilter.txx
index 94b9db348b..722cd0ba77 100644
--- a/Code/BasicFilters/otbConvolutionImageFilter.txx
+++ b/Code/BasicFilters/otbConvolutionImageFilter.txx
@@ -27,6 +27,8 @@
 #include "itkProgressReporter.h"
 #include "itkConstantBoundaryCondition.h"
 
+#include "otbMacro.h"
+
 namespace otb
 {
 
diff --git a/Utilities/ITK/Code/Review/itkBinaryImageToLabelMapFilter.h b/Utilities/ITK/Code/Review/itkBinaryImageToLabelMapFilter.h
index 8835e6d8cf..be772383ad 100644
--- a/Utilities/ITK/Code/Review/itkBinaryImageToLabelMapFilter.h
+++ b/Utilities/ITK/Code/Review/itkBinaryImageToLabelMapFilter.h
@@ -26,6 +26,9 @@
 #include "itkProgressReporter.h"
 #include "itkBarrier.h"
 
+//PATCH OTB
+#include "itkLabelMap.h"
+
 namespace itk
 {
 
-- 
GitLab