]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
mmap: add include for cerrno (#11296)
authorChristopher Nielsen <redacted>
Mon, 20 Jan 2025 14:02:43 +0000 (09:02 -0500)
committerGitHub <redacted>
Mon, 20 Jan 2025 14:02:43 +0000 (16:02 +0200)
ggml-ci

Co-authored-by: Xuan Son Nguyen <redacted>
src/llama-mmap.cpp

index 57c6e4f510fe58671d63a1cf407907c22ffba122..b716630a8c23827081cb8973337f366fecbc6a82 100644 (file)
@@ -7,6 +7,7 @@
 #include <cstring>
 #include <climits>
 #include <stdexcept>
+#include <cerrno>
 
 #ifdef __has_include
     #if __has_include(<unistd.h>)