From: YangLe Date: Thu, 20 Nov 2025 11:54:54 +0000 (+0800) Subject: metal : fix compile on macos 11 (#3533) X-Git-Tag: upstream/1.8.3~286 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=961aec7384e6c4afeea5fa3f63abc198e7fe4d18;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp metal : fix compile on macos 11 (#3533) --- diff --git a/ggml/src/ggml-metal/ggml-metal-ops.cpp b/ggml/src/ggml-metal/ggml-metal-ops.cpp index 366c54eb..e46970da 100644 --- a/ggml/src/ggml-metal/ggml-metal-ops.cpp +++ b/ggml/src/ggml-metal/ggml-metal-ops.cpp @@ -11,6 +11,7 @@ #include #include #include +#include static ggml_metal_buffer_id ggml_metal_get_buffer_id(const ggml_tensor * t) { if (!t) {