diff --git a/Code/FeatureExtraction/otbThresholdImageToPointSetFilter.txx b/Code/FeatureExtraction/otbThresholdImageToPointSetFilter.txx
index 6e7d35ba57b12e1149f3ca800a139f96c7264d51..8db768223b2936e7d5ed3b3ce7ea572ea5faff4a 100644
--- a/Code/FeatureExtraction/otbThresholdImageToPointSetFilter.txx
+++ b/Code/FeatureExtraction/otbThresholdImageToPointSetFilter.txx
@@ -22,6 +22,7 @@
 #include "otbThresholdImageToPointSetFilter.h"
 #include "itkImageRegionConstIterator.h"
 #include "itkProgressReporter.h"
+#include "otbMacro.h"
 
 namespace otb
 {