Commit 66e665c42 for llama.cpp
commit 66e665c4276ee46f3ec9872dd7e5a496842bc44f
Author: Linux User <linuxusergd@outlook.com>
Date: Mon Sep 28 19:31:42 2026 +0000
vulkan: include functional header (#29597)
Fixes the compile error: `no template named 'function' in namespace 'std'`
diff --git a/ggml/src/ggml-vulkan/ggml-vulkan-types.h b/ggml/src/ggml-vulkan/ggml-vulkan-types.h
index 84962be04..bc5de0e87 100644
--- a/ggml/src/ggml-vulkan/ggml-vulkan-types.h
+++ b/ggml/src/ggml-vulkan/ggml-vulkan-types.h
@@ -51,6 +51,8 @@ typedef struct VkPhysicalDeviceCooperativeMatrixDecodeVectorFeaturesNV {
#include <cmath>
+#include <functional>
+
#include <iomanip>
#include <iostream>