Skip to content

Commit f1894f2

Browse files
wgottwaltubergarm
authored andcommitted
llama-mmap: fix missing include (ggml-org#11796)
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; | ^~~~~~~~
1 parent 407c209 commit f1894f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/llama-mmap.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#pragma once
22

3+
#include <cstdint>
34
#include <memory>
45
#include <vector>
56

0 commit comments

Comments
 (0)