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 #ifdef _MSC_VER
#include <malloc.h> #include <malloc.h>
#else #else
#if !defined(__FreeBSD__)
#include <alloca.h> #include <alloca.h>
#endif #endif
#endif
Log_SetChannel(ByteStream); Log_SetChannel(ByteStream);