aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice.org-1.0/files/patch-sal::osl::unx::socket.c
blob: b6e0e2fa09019d81b16fe60b55bd090afcb6423e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- ../sal/osl/unx/socket.c.orig    Sun Mar 17 12:46:37 2002
+++ ../sal/osl/unx/socket.c Wed Apr  3 01:01:14 2002
@@ -82,7 +82,7 @@
 #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 */
@@ -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! */