[Libreoffice-commits] .: 2 commits - bridges/source idlc/source

Robert Nagy rnagy at kemper.freedesktop.org
Fri Nov 5 03:37:51 PDT 2010


 bridges/source/cpp_uno/shared/vtablefactory.cxx |    2 +-
 idlc/source/idlccompile.cxx                     |    3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 6d8819b08ab3949abe25b3d421a14a31210e1ebf
Author: Robert Nagy <robert at openbsd.org>
Date:   Thu Nov 4 11:31:32 2010 +0100

    use getpagesize() on OpenBSD

diff --git a/bridges/source/cpp_uno/shared/vtablefactory.cxx b/bridges/source/cpp_uno/shared/vtablefactory.cxx
index 5bf573c..667fe7f 100644
--- a/bridges/source/cpp_uno/shared/vtablefactory.cxx
+++ b/bridges/source/cpp_uno/shared/vtablefactory.cxx
@@ -82,7 +82,7 @@ namespace {
 extern "C" void * SAL_CALL allocExec(rtl_arena_type *, sal_Size * size) {
     sal_Size pagesize;
 #if defined SAL_UNX
-#if defined FREEBSD || defined NETBSD
+#if defined FREEBSD || defined NETBSD || defined OPENBSD
     pagesize = getpagesize();
 #else
     pagesize = sysconf(_SC_PAGESIZE);
commit d111d7e2dad5b70e16c607bd9bcbca8dcb9381d2
Author: Robert Nagy <robert at openbsd.org>
Date:   Thu Nov 4 11:16:33 2010 +0100

    include sys/wait.h on openbsd

diff --git a/idlc/source/idlccompile.cxx b/idlc/source/idlccompile.cxx
index 5a91ab1..8453a3e 100644
--- a/idlc/source/idlccompile.cxx
+++ b/idlc/source/idlccompile.cxx
@@ -42,7 +42,8 @@
 
 #ifdef	SAL_UNX
 #include <unistd.h>
-#if defined(MACOSX) || defined(FREEBSD) || defined(NETBSD) || defined(AIX)
+#if defined(MACOSX) || defined(FREEBSD) || defined(NETBSD) || \
+	defined(AIX) || defined(OPENBSD)
 #include <sys/wait.h>
 #else
 #include <wait.h>


More information about the Libreoffice-commits mailing list