Răsfoiți Sursa

Add missing header for memcpy (#386)

fixed: memcpy is not defined
Yusuf Kağan Hanoğlu 2 ani în urmă
părinte
comite
d5850c53ca
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      llama.cpp

+ 1 - 0
llama.cpp

@@ -9,6 +9,7 @@
 #include <queue>
 #include <queue>
 #include <regex>
 #include <regex>
 #include <cassert>
 #include <cassert>
+#include <cstring>
 
 
 // determine number of model parts based on the dimension
 // determine number of model parts based on the dimension
 static const std::unordered_map<int, int> LLAMA_N_PARTS = {
 static const std::unordered_map<int, int> LLAMA_N_PARTS = {