core: Add the missing <climits> include to intrin_lsx.hpp.

When compiling with GCC 16.2.0, I encountered the following error:

modules/core/include/opencv2/core/hal/intrin_forward.hpp:204:49: error: 'INT_MAX' was not declared in this scope
  204 |     SV32 sat  = v_xor(v_shr<31>(hi), SETALL_S32(INT_MAX)); \
This commit is contained in:
Sun Haiyong
2026-10-23 10:06:40 +08:00
parent ce58bb1ee7
commit 330c0dbfd5

View File

@@ -6,6 +6,7 @@
#define OPENCV_HAL_INTRIN_LSX_HPP
#include <lsxintrin.h>
#include <climits>
#define CV_SIMD128 1
#define CV_SIMD128_64F 1