From a8e4dd73bbe65155ae2992e5ae09fe195c8500e6 Mon Sep 17 00:00:00 2001 From: Martin Blapp Date: Sun, 10 Mar 2002 22:42:07 +0000 Subject: AddrLen is socklen_t, not int --- editors/openoffice-1.0/files/patch-sal::osl::unx::socket.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'editors/openoffice-1.0/files/patch-sal::osl::unx::socket.c') diff --git a/editors/openoffice-1.0/files/patch-sal::osl::unx::socket.c b/editors/openoffice-1.0/files/patch-sal::osl::unx::socket.c index 4c63598da424..19d390cf08eb 100644 --- a/editors/openoffice-1.0/files/patch-sal::osl::unx::socket.c +++ b/editors/openoffice-1.0/files/patch-sal::osl::unx::socket.c @@ -1,5 +1,5 @@ ---- ../sal/osl/unx/socket.c.orig Sun Mar 3 18:12:48 2002 -+++ ../sal/osl/unx/socket.c Sun Mar 3 18:16:32 2002 +--- ../sal/osl/unx/socket.c.orig Fri Jun 22 16:22:14 2001 ++++ ../sal/osl/unx/socket.c Sun Mar 10 23:33:56 2002 @@ -82,7 +82,7 @@ #undef HAVE_POLL_H #endif @@ -9,3 +9,12 @@ #include #define HAVE_POLL_H #endif /* HAVE_POLL_H */ +@@ -1965,7 +1965,7 @@ + /*****************************************************************************/ + oslSocketAddr SAL_CALL osl_getLocalAddrOfSocket(oslSocket pSocket) + { +-#ifdef LINUX ++#ifdef LINUX || defined(FREEBSD) + socklen_t AddrLen; + #else + /* mfe: Solaris 'cc +w' means Addrlen should be signed! */ -- cgit v1.2.3