a31c45a0b4
There are still at least two different gcc bugs in our compiler, one issue has already been found by Alexander Kabaev <ak03@gte.com>. He's working on fixing the other.
20 lines
674 B
C
20 lines
674 B
C
--- ../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! */
|