Fix build on FreeBSD

FreeBSD's alloca(3) only needs <stdlib.h>
This commit is contained in:
Ganael Laplanche 2023-11-29 20:54:12 +01:00
parent b6d67560e3
commit af046c8987
1 changed files with 2 additions and 0 deletions

View File

@ -28,8 +28,10 @@
#ifdef _MSC_VER
#include <malloc.h>
#else
#if !defined(__FreeBSD__)
#include <alloca.h>
#endif
#endif
Log_SetChannel(ByteStream);