Merge pull request #553 from Sendan4/fix-freebsd-clang-cl-build

This commit is contained in:
jpmag
2025-10-24 23:37:09 +01:00
committed by GitHub

View File

@@ -11,6 +11,9 @@
#if defined(C4_MSVC) || defined(C4_MINGW)
#include <malloc.h>
#elif (defined(__clang__) && defined(_MSC_VER)) || \
defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
#include <stdlib.h>
#else
#include <alloca.h>
#endif