aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/pixman/missing_intrin_include.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/pixman/missing_intrin_include.patch')
-rw-r--r--vcpkg/ports/pixman/missing_intrin_include.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/vcpkg/ports/pixman/missing_intrin_include.patch b/vcpkg/ports/pixman/missing_intrin_include.patch
new file mode 100644
index 0000000..76f74af
--- /dev/null
+++ b/vcpkg/ports/pixman/missing_intrin_include.patch
@@ -0,0 +1,15 @@
+diff --git a/pixman/pixman-x86.c b/pixman/pixman-x86.c
+index 0130b7bfa..d3d0fe1d9 100644
+--- a/pixman/pixman-x86.c
++++ b/pixman/pixman-x86.c
+@@ -24,7 +24,10 @@
+ #endif
+
+ #include "pixman-private.h"
++#ifdef _MSC_VER
++#include <intrin.h>
++#endif
+
+ #if defined(USE_X86_MMX) || defined (USE_SSE2) || defined (USE_SSSE3)
+
+ /* The CPU detection code needs to be in a file not compiled with