OpenBSD also needs alloca.h (#2012)

This commit is contained in:
JustCommitRandomness 2026-03-05 04:32:31 +00:00 committed by GitHub
parent 8658af1018
commit 389773070f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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(__OpenBSD__)
#include <alloca.h>
#endif