Fix build on FreeBSD
FreeBSD's alloca(3) only needs <stdlib.h>
This commit is contained in:
parent
b6d67560e3
commit
af046c8987
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue