From c904fc121c8728e1979c496e27a20725132cc894 Mon Sep 17 00:00:00 2001 From: Steven Chamberlain Date: Wed, 13 Jul 2016 12:25:55 +0100 Subject: [PATCH] bx: use real alloca.h on glibc systems On GNU/kFreeBSD, the definition for alloca() can be found in the system alloca.h --- 3rdparty/bx/include/compat/freebsd/alloca.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/3rdparty/bx/include/compat/freebsd/alloca.h b/3rdparty/bx/include/compat/freebsd/alloca.h index c8b49f26d17..12a69ea6372 100644 --- a/3rdparty/bx/include/compat/freebsd/alloca.h +++ b/3rdparty/bx/include/compat/freebsd/alloca.h @@ -1 +1,5 @@ +#ifdef __GLIBC__ +#include_next +#else #include +#endif