diff --git a/Modules/Learning/DimensionalityReductionLearning/include/otbAutoencoderModel.txx b/Modules/Learning/DimensionalityReductionLearning/include/otbAutoencoderModel.txx
index df00d43e11ca16b19b6f4ddd258971b0af1c3d84..02282b4c09c6e2a5e8cf49d30f1eb6d306368b64 100644
--- a/Modules/Learning/DimensionalityReductionLearning/include/otbAutoencoderModel.txx
+++ b/Modules/Learning/DimensionalityReductionLearning/include/otbAutoencoderModel.txx
@@ -24,7 +24,6 @@
 #include "otbMacro.h"
 
 #include <fstream>
-#include "itkMacro.h"
 
 #if defined(__GNUC__) || defined(__clang__)
 #pragma GCC diagnostic push