Просмотр исходного кода

mmap: add include for cerrno (#11296)

ggml-ci

Co-authored-by: Xuan Son Nguyen <son@huggingface.co>
Christopher Nielsen 1 год назад
Родитель
Сommit
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>)