[Libreoffice-commits] .: bridges/source
Robert Nagy
rnagy at kemper.freedesktop.org
Mon Dec 13 02:53:36 PST 2010
bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 95b25adcb9933d344880501f178daa338ce6b114
Author: Robert Nagy <robert at openbsd.org>
Date: Mon Dec 13 11:52:51 2010 +0100
malloc.h is obsolete on BSDs, so use stdlib.h there
diff --git a/bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp.cxx
index 6fd5c32..c4c6b47 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"
More information about the Libreoffice-commits
mailing list