--- src/core/macros.h.orig 2024-03-14 20:05:43 UTC +++ src/core/macros.h @@ -45,6 +45,10 @@ char (&COUNTOF_Helper(T (&array)[N]))[N]; #include #define stackalloc(T, n) reinterpret_cast(_alloca(sizeof(T) * n)) #else +#ifdef __FreeBSD__ +#include +#else #include +#endif #define stackalloc(T, n) reinterpret_cast(alloca(sizeof(T) * n)) #endif