FreeBSD has alloca in stdlib.h.

This commit is contained in:
Bartosz Taudul 2023-05-23 23:38:34 +02:00
parent eca841dfe3
commit 4e1b198380
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -4,6 +4,8 @@
#ifdef _WIN32
# include <malloc.h>
#elif defined __FreeBSD__
# include <stdlib.h>
#else
# include <alloca.h>
#endif