diff options
author | Robert Nagy <robert@openbsd.org> | 2010-12-13 11:52:51 +0100 |
---|---|---|
committer | Robert Nagy <robert@openbsd.org> | 2010-12-13 11:52:51 +0100 |
commit | bbff372b4c3345c095ad3986ac69df13fa54ff12 (patch) | |
tree | 1f179cbb8a3dcc1d41d058a6d34f0e476eafaf79 /bridges | |
parent | e35d8bdf0be18a5f19988dedde1f2e20c5d03fdf (diff) |
malloc.h is obsolete on BSDs, so use stdlib.h there
Diffstat (limited to 'bridges')
-rw-r--r-- | bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp.cxx index 6af5b4aa7274..de3e28ea8269 100644 --- a/bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp.cxx @@ -29,7 +29,11 @@ // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_bridges.hxx" +#if defined (FREEBSD) || defined(NETBSD) || defined(OPENBSD) +#include <stdlib.h> +#else #include <malloc.h> +#endif #include <com/sun/star/uno/genfunc.hxx> #include "com/sun/star/uno/RuntimeException.hpp" |