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.43.6.3 retrieving revision 1.44 diff -u -p -r1.43.6.3 -r1.44 --- src/sys/sys/socket.h 1999/11/30 13:36:18 1.43.6.3 +++ src/sys/sys/socket.h 1999/07/01 08:13:00 1.44 @@ -1,4 +1,4 @@ -/* $NetBSD: socket.h,v 1.43.6.3 1999/11/30 13:36:18 itojun Exp $ */ +/* $NetBSD: socket.h,v 1.44 1999/07/01 08:13:00 itojun Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -400,7 +400,7 @@ struct cmsghdr { * This is different from ALIGN() defined in ARCH/include/param.h. * XXX think again carefully about architecture dependencies. */ -#define CMSG_ALIGN(n) (((n) + sizeof(long) - 1) & ~(sizeof(long) - 1)) +#define CMSG_ALIGN(n) (((n) + 3) & ~3) /* given pointer to struct cmsghdr, return pointer to next cmsghdr */ #define CMSG_NXTHDR(mhdr, cmsg) \