On Sun, 28 Jan 2018 13:24:06 -0800
Yuri <y...@rawbw.com> wrote:

> BSDs use different header for alloca than Linux.
> 
> It sucks when it only works on Linux.
> 
> 
> Thanks,
> 
> Yuri
> 
> 
> 
> --- src/blind-split.c.orig      2017-05-06 11:27:39 UTC
> +++ src/blind-split.c
> @@ -2,7 +2,11 @@
>   #include "stream.h"
>   #include "util.h"
> 
> +#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) 
> || defined(__DragonFly__)
> +#include <stdlib.h>
> +#else
>   #include <alloca.h>
> +#endif
>   #include <fcntl.h>
>   #include <inttypes.h>
>   #include <limits.h>
> 
> 

Thanks again!

I will be fixing this, but probably via config.mk.


Mattias Andrée

Reply via email to