Pārlūkot izejas kodu

mmap: add include for cerrno (#11296)

ggml-ci

Co-authored-by: Xuan Son Nguyen <son@huggingface.co>
Christopher Nielsen 1 gadu atpakaļ
vecāks
revīzija
90d987b105
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      src/llama-mmap.cpp

+ 1 - 0
src/llama-mmap.cpp

@@ -7,6 +7,7 @@
 #include <cstring>
 #include <climits>
 #include <stdexcept>
+#include <cerrno>
 
 #ifdef __has_include
     #if __has_include(<unistd.h>)