Procházet zdrojové kódy

mmap: add include for cerrno (#11296)

ggml-ci

Co-authored-by: Xuan Son Nguyen <son@huggingface.co>
Christopher Nielsen před 1 rokem
rodič
revize
90d987b105
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      src/llama-mmap.cpp

+ 1 - 0
src/llama-mmap.cpp

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