summaryrefslogtreecommitdiff
path: root/libavutil/x86/intmath.h
diff options
context:
space:
mode:
authorMatt Oliver <protogonoi@gmail.com>2015-11-01 02:00:41 +1100
committerMatt Oliver <protogonoi@gmail.com>2015-11-01 02:11:29 +1100
commitbff009697d0278fafaef533d4656daae1abdc29a (patch)
tree102b362d1f1840851cdd1fc4e369da958de24772 /libavutil/x86/intmath.h
parent20abda6b626c0efe1df298eab697d61ba52669c3 (diff)
avutil/x86/intmath: Add missing header.
Signed-off-by: Matt Oliver <protogonoi@gmail.com>
Diffstat (limited to 'libavutil/x86/intmath.h')
-rw-r--r--libavutil/x86/intmath.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavutil/x86/intmath.h b/libavutil/x86/intmath.h
index 61d1a7347c..d504079893 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