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.55 retrieving revision 1.55.2.2 diff -u -p -r1.55 -r1.55.2.2 --- src/sys/sys/socket.h 2000/06/04 08:50:28 1.55 +++ src/sys/sys/socket.h 2001/05/01 10:29:06 1.55.2.2 @@ -1,4 +1,4 @@ -/* $NetBSD: socket.h,v 1.55 2000/06/04 08:50:28 itojun Exp $ */ +/* $NetBSD: socket.h,v 1.55.2.2 2001/05/01 10:29:06 he Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -77,7 +77,7 @@ #include #ifndef socklen_t typedef __socklen_t socklen_t; -#define socklen_t socklen_t +#define socklen_t __socklen_t #endif /* @@ -466,12 +466,14 @@ struct omsghdr { }; #endif +#include + +__BEGIN_DECLS int __cmsg_alignbytes __P((void)); +__END_DECLS #ifndef _KERNEL -#include - __BEGIN_DECLS int accept __P((int, struct sockaddr *, socklen_t *)); int bind __P((int, const struct sockaddr *, socklen_t));