diff --git a/xts.cpp b/xts.cpp index d86351f8..ac4cb3cf 100644 --- a/xts.cpp +++ b/xts.cpp @@ -24,8 +24,11 @@ # include #endif -#if (CRYPTOPP_ARM_NEON_HEADER) -# include + +#if defined(__aarch32__) || defined(__aarch64__) || defined(_M_ARM64) +# if (CRYPTOPP_ARM_NEON_HEADER) +# include +# endif #endif // Clang intrinsic casts