From eb90f12c8096edde4dac012a8553e5bb7f01febe Mon Sep 17 00:00:00 2001 From: Wilken Gottwalt <12194808+wgottwalt@users.noreply.github.com> Date: Mon, 10 Feb 2025 19:38:19 +0100 Subject: [PATCH] llama-mmap: fix missing include MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Technically the fixed width types come only from iostream and cstdint/stdint.h headers. memory and vector headers should not provide these. In GCC 15 the headers are cleaned up and you require the proper header cstdint. src/llama-mmap.h:26:5: error: ‘uint32_t’ does not name a type 26 | uint32_t read_u32() const; | ^~~~~~~~ --- src/llama-mmap.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/llama-mmap.h b/src/llama-mmap.h index 1da9ecb6b9812..4e5aec3f440d7 100644 --- a/src/llama-mmap.h +++ b/src/llama-mmap.h @@ -1,5 +1,6 @@ #pragma once +#include #include #include