diff --git a/libavutil/x86/intmath.h b/libavutil/x86/intmath.h index 61d1a7347ce2b95d1b2b614161971b39488f4a33..d5040798931f51b028abfc8ed6a9adc1ef58c28a 100644 --- a/libavutil/x86/intmath.h +++ b/libavutil/x86/intmath.h @@ -22,6 +22,9 @@ #define AVUTIL_X86_INTMATH_H #include <stdint.h> +#if HAVE_FAST_CLZ && (defined(__INTEL_COMPILER) || defined(_MSC_VER)) +#include <immintrin.h> +#endif #include "config.h" #if HAVE_FAST_CLZ