close #56 : build on FreeBSD

Thanks to @abelbabel for the contribution
This commit is contained in:
Georgi Gerganov
2022-10-17 18:09:17 +03:00
parent f24d940ca9
commit 0e858f080d
3 changed files with 10 additions and 1 deletions

2
ggml.c
View File

@@ -2,7 +2,7 @@
#if defined(_MSC_VER) || defined(__MINGW32__)
#include <malloc.h> // using malloc.h with MSC/MINGW
#else
#elif !defined(__FreeBSD__)
#include <alloca.h>
#endif