diff --git a/Modules/Filtering/MathematicalMorphology/include/itkMathematicalMorphologyEnums.h b/Modules/Filtering/MathematicalMorphology/include/itkMathematicalMorphologyEnums.h index d897d5c1494..c3675ad7367 100644 --- a/Modules/Filtering/MathematicalMorphology/include/itkMathematicalMorphologyEnums.h +++ b/Modules/Filtering/MathematicalMorphology/include/itkMathematicalMorphologyEnums.h @@ -20,7 +20,7 @@ #include #include "ITKMathematicalMorphologyExport.h" -#include +#include "itkIntTypes.h" namespace itk @@ -39,7 +39,7 @@ class MathematicalMorphologyEnums * \brief Algorithm or implementation used in the dilation/erosion operations. * \ingroup ITKMathematicalMorphology */ - enum class Algorithm : std::uint8_t + enum class Algorithm : uint8_t { BASIC = 0, HISTO = 1,