summaryrefslogtreecommitdiff
path: root/ggml.c
diff options
context:
space:
mode:
authorThomas Klausner <wiz@gatalith.at>2023-03-13 17:40:54 +0100
committerGitHub <noreply@github.com>2023-03-13 18:40:54 +0200
commit41be0a3b3d76ee4f254dc81b42bd8ed26ee324e7 (patch)
treebf1d7d1f766b447c7c7e6e0e4984ac01a65bb9e4 /ggml.c
parent671d5cac15241b495006f56482bf2d6967dca91f (diff)
Add NetBSD support. (#90)
Diffstat (limited to 'ggml.c')
-rw-r--r--ggml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ggml.c b/ggml.c
index 7b0b456f..58a4c9b6 100644
--- a/ggml.c
+++ b/ggml.c
@@ -2,7 +2,7 @@
#if defined(_MSC_VER) || defined(__MINGW32__)
#include <malloc.h> // using malloc.h with MSC/MINGW
-#elif !defined(__FreeBSD__)
+#elif !defined(__FreeBSD__) && !defined(__NetBSD__)
#include <alloca.h>
#endif