diff options
Diffstat (limited to 'src/utils/simd_32/simd_sse.h')
-rw-r--r-- | src/utils/simd_32/simd_sse.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/utils/simd_32/simd_sse.h b/src/utils/simd_32/simd_sse.h index 9f03b3733..31bbce2c7 100644 --- a/src/utils/simd_32/simd_sse.h +++ b/src/utils/simd_32/simd_sse.h @@ -8,8 +8,9 @@ #ifndef BOTAN_SIMD_SSE_H__ #define BOTAN_SIMD_SSE_H__ -#include <botan/cpuid.h> +#if defined(BOTAN_TARGET_CPU_HAS_SSE2) +#include <botan/cpuid.h> #include <emmintrin.h> namespace Botan { @@ -159,3 +160,5 @@ class SIMD_SSE2 } #endif + +#endif |