diff options
author | Martin Blapp <mbr@FreeBSD.org> | 2002-10-18 22:52:57 +0000 |
---|---|---|
committer | Martin Blapp <mbr@FreeBSD.org> | 2002-10-18 22:52:57 +0000 |
commit | a0ccee8b339cbd7d2a5be2f23fa0b2f51d8bbd78 (patch) | |
tree | 1a9632c02a53b6df96425fec98a823006618e1bf /editors/openoffice-devel/files/patch-sal::osl::unx::socket.c | |
parent | First step to make this port working. Configure works and all patches (diff) |
Re-add previously deleted files.
Notes
Notes:
svn path=/head/; revision=68300
Diffstat (limited to 'editors/openoffice-devel/files/patch-sal::osl::unx::socket.c')
-rw-r--r-- | editors/openoffice-devel/files/patch-sal::osl::unx::socket.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/editors/openoffice-devel/files/patch-sal::osl::unx::socket.c b/editors/openoffice-devel/files/patch-sal::osl::unx::socket.c new file mode 100644 index 000000000000..9541cac8583f --- /dev/null +++ b/editors/openoffice-devel/files/patch-sal::osl::unx::socket.c @@ -0,0 +1,26 @@ +--- ../sal/osl/unx/socket.c.orig Tue Apr 9 20:09:53 2002 ++++ ../sal/osl/unx/socket.c Fri Oct 18 20:00:19 2002 +@@ -82,12 +82,12 @@ + #undef HAVE_POLL_H + #endif + +-#if defined(LINUX) || defined (IRIX) || defined(NETBSD) ++#if defined(LINUX) || defined (IRIX) || defined(NETBSD) || defined ( FREEBSD ) + #include <sys/poll.h> + #define HAVE_POLL_H + #endif /* HAVE_POLL_H */ + +-#if defined(SOLARIS) || defined ( FREEBSD ) ++#if defined(SOLARIS) + #include <poll.h> + #define HAVE_POLL_H + #endif /* SOLARIS */ +@@ -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! */ |