Date: Tue, 14 Mar 2000 12:44:22 +1100 (EST) From: Bruce Evans <bde@zeta.org.au> To: Brian Fundakowski Feldman <green@FreeBSD.org> Cc: Satoshi Asami <asami@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/net/gnomenetwork/patches patch-af patch-ag Message-ID: <Pine.BSF.4.21.0003141237290.2477-100000@alphplex.bde.org> In-Reply-To: <Pine.BSF.4.21.0003131426070.1391-100000@green.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 13 Mar 2000, Brian Fundakowski Feldman wrote: > On Tue, 14 Mar 2000, Bruce Evans wrote: > > <sys/socket.h> doesn't fully depend on <sys/param.h>. The CMSG*() macros > > now use ALIGN() which is in <sys/param.h> (actually in <machine/param.h>). > > I'm surprised that any ports use them. > > Shouldn't this be fixed, since that's how it's documented to use the > sys/socket.h header, with just sys/types.h a prerequesite? I understand > not wanting to poison the includes, but this could cause people lots of > porting problems. I don't think so. It isn't documented. The CMSG*() macros aren't even referenced anywhere in /usr/share/man. If they were documented, then the documentation would say which headers to include to use them. There are many other headers that don't provide all the infrastructure required to use all the macros in them. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0003141237290.2477-100000>