diff --git a/Code/BasicFilters/otbVectorDataToLabelImageFilter.txx b/Code/BasicFilters/otbVectorDataToLabelImageFilter.txx
index 358cfba8c051d6c37f86c95acd72e3b5f37b3a09..ea4113fa2add365f289531164a2530927f727def 100644
--- a/Code/BasicFilters/otbVectorDataToLabelImageFilter.txx
+++ b/Code/BasicFilters/otbVectorDataToLabelImageFilter.txx
@@ -15,6 +15,8 @@
      PURPOSE.  See the above copyright notices for more information.
 
 =========================================================================*/
+#ifndef __otbVectorDataToLabelImageFilter_txx
+#define __otbVectorDataToLabelImageFilter_txx
 
 #include "otbVectorDataToLabelImageFilter.h"
 #include "otbOGRIOHelper.h"
@@ -322,3 +324,5 @@ VectorDataToLabelImageFilter<TVectorData, TOutputImage>
 
 } // end namespace otb
 
+#endif
+