$NetBSD$

--- rts/socket.c.orig	2005-03-02 14:17:00.000000000 +0000
+++ rts/socket.c
@@ -278,7 +278,7 @@ Pach ph;
 
     int n, result, my_currfd;
     static struct sockaddr sockbuff;
-    static size_t buffsize;
+    static socklen_t buffsize;
     static fd_set readyset;	/* fd's with input available.  Fortunately,
 				 * the only place this is assigned to is
 				 * already protected. */
