2003-02-02 15:19:56 -05:00
|
|
|
$OpenBSD: patch-sim_sock_c,v 1.4 2003/02/02 20:19:56 fgsch Exp $
|
|
|
|
--- sim_sock.c.orig Thu Jan 2 12:27:10 2003
|
|
|
|
+++ sim_sock.c Sun Feb 2 16:37:44 2003
|
|
|
|
@@ -178,7 +178,7 @@ return newsock; /* got it! */
|
2002-10-29 18:55:01 -05:00
|
|
|
SOCKET sim_accept_conn (SOCKET master, uint32 *ipaddr)
|
2002-03-26 02:37:21 -05:00
|
|
|
{
|
2003-02-02 15:19:56 -05:00
|
|
|
int32 sta, err;
|
2002-03-26 02:37:21 -05:00
|
|
|
-#if defined (macintosh)
|
2003-02-02 15:19:56 -05:00
|
|
|
+#if defined (macintosh) || defined (USE_SOCKLEN_T)
|
2002-06-09 22:37:10 -04:00
|
|
|
socklen_t size;
|
2002-10-29 18:55:01 -05:00
|
|
|
#elif defined (WIN32) || defined (__EMX__)
|
2002-06-09 22:37:10 -04:00
|
|
|
int size;
|