Skip to content

Commit 3897730

Browse files
OpenBSD also needs alloca.h (#2012)
1 parent 8658af1 commit 3897730

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

otherarch/ggml_v1.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#if defined(_MSC_VER) || defined(__MINGW32__)
44
#include <malloc.h> // using malloc.h with MSC/MINGW
5-
#elif !defined(__FreeBSD__)
5+
#elif !defined(__FreeBSD__) && !defined(__OpenBSD__)
66
#include <alloca.h>
77
#endif
88

0 commit comments

Comments
 (0)