Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/sys/socket.h,v retrieving revision 1.54 retrieving revision 1.54.2.1 diff -u -p -r1.54 -r1.54.2.1 --- src/sys/sys/socket.h 2000/04/03 11:49:25 1.54 +++ src/sys/sys/socket.h 2000/06/22 17:10:27 1.54.2.1 @@ -1,4 +1,4 @@ -/* $NetBSD: socket.h,v 1.54 2000/04/03 11:49:25 augustss Exp $ */ +/* $NetBSD: socket.h,v 1.54.2.1 2000/06/22 17:10:27 minoura Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -74,7 +74,11 @@ /* * Data types. */ -typedef unsigned int socklen_t; +#include +#ifndef socklen_t +typedef __socklen_t socklen_t; +#define socklen_t socklen_t +#endif /* * Socket types.