about summary refs log tree commit diff
path: root/socket/sys/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'socket/sys/socket.h')
-rw-r--r--socket/sys/socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/socket/sys/socket.h b/socket/sys/socket.h
index 9ba7d9a313..3d3f71385f 100644
--- a/socket/sys/socket.h
+++ b/socket/sys/socket.h
@@ -113,7 +113,7 @@ extern int connect __P ((int __fd,
 /* Put the address of the peer connected to socket FD into *ADDR
    (which is *LEN bytes long), and its actual length into *LEN.  */
 extern int getpeername __P ((int __fd, __SOCKADDR_ARG __addr,
-			     size_t *__len));
+			     socklen_t *__len));
 
 
 /* Send N bytes of BUF to socket FD.  Returns the number sent or -1.  */