From af046c8987ec3c580eff8a0c7c438762377fdbca Mon Sep 17 00:00:00 2001 From: Ganael Laplanche Date: Wed, 29 Nov 2023 20:54:12 +0100 Subject: [PATCH] Fix build on FreeBSD FreeBSD's alloca(3) only needs --- src/common/byte_stream.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/byte_stream.cpp b/src/common/byte_stream.cpp index bb26af0fd..186099960 100644 --- a/src/common/byte_stream.cpp +++ b/src/common/byte_stream.cpp @@ -28,8 +28,10 @@ #ifdef _MSC_VER #include #else +#if !defined(__FreeBSD__) #include #endif +#endif Log_SetChannel(ByteStream);