vcpkg/ports/realsense2/fix_rgb_using_avx2.patch

13 lines
348 B
Diff
Raw Normal View History

diff --git a/src/image.cpp b/src/image.cpp
index 47cc68d8..04a8afd3 100644
--- a/src/image.cpp
+++ b/src/image.cpp
@@ -8,6 +8,7 @@
#ifdef __SSSE3__
#include <tmmintrin.h> // For SSE3 intrinsic used in unpack_yuy2_sse
+#include <immintrin.h>
#endif
#pragma pack(push, 1) // All structs in this file are assumed to be byte-packed