瀏覽代碼

mmap: add include for cerrno (#11296)

ggml-ci

Co-authored-by: Xuan Son Nguyen <son@huggingface.co>
Christopher Nielsen 1 年之前
父節點
當前提交
90d987b105
共有 1 個文件被更改,包括 1 次插入0 次删除
  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>)