Files
opencv-mobile/patches/opencv-4.8.1-fix-emscripten-include.patch

12 lines
542 B
Diff

diff -Nuarp opencv-4.8.0.orig/modules/core/include/opencv2/core/hal/intrin_wasm.hpp opencv-4.8.0/modules/core/include/opencv2/core/hal/intrin_wasm.hpp
--- opencv-4.8.0.orig/modules/core/include/opencv2/core/hal/intrin_wasm.hpp 2023-06-28 19:53:33.000000000 +0800
+++ opencv-4.8.0/modules/core/include/opencv2/core/hal/intrin_wasm.hpp 2023-08-06 19:11:33.503734508 +0800
@@ -8,6 +8,7 @@
#include <limits>
#include <cstring>
#include <algorithm>
+#include <emscripten/version.h>
#include "opencv2/core/saturate.hpp"
#define CV_SIMD128 1