From 7c9e637bdebbc3688f3d321048f77b480b58dc24 Mon Sep 17 00:00:00 2001 From: Robert Nagy Date: Thu, 29 Mar 2012 23:47:07 +0200 Subject: alloca(3) needs stdlib.h on *BSD because there is no alloca.h --- bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx index 4e74698a5fff..a9abb5cb0544 100644 --- a/bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx @@ -26,7 +26,11 @@ * ************************************************************************/ +#if defined (FREEBSD) || defined(NETBSD) || defined(OPENBSD) || defined(DRAGONFLY) +#include +#else #include +#endif #include #include -- cgit