diff --git a/modules/core/src/hal_internal.cpp b/modules/core/src/hal_internal.cpp index f581d05cf4..28227688c0 100644 --- a/modules/core/src/hal_internal.cpp +++ b/modules/core/src/hal_internal.cpp @@ -66,6 +66,7 @@ #if defined(__clang__) && defined(__has_feature) #if __has_feature(memory_sanitizer) +#include #define CV_ANNOTATE_MEMORY_IS_INITIALIZED(address, size) \ __msan_unpoison(address, size) #endif