Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Mar 2000 04:35:01 +1100 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Yoshinobu Inoue <shin@nd.net.fujitsu.co.jp>
Cc:        nnd@mail.nsk.ru, current@FreeBSD.ORG
Subject:   Re: 'machine/param.h' required for 'sys/socket.h'
Message-ID:  <Pine.BSF.4.21.0003220428230.4710-100000@alphplex.bde.org>
In-Reply-To: <20000322013459L.shin@nd.net.fujitsu.co.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 22 Mar 2000, Yoshinobu Inoue wrote:

> I feel requesting inclusion of machine/param.h for any apps
> which use socket is better. But if there are any other smarter
> solution, please let me know and I'll appreciate it much.

<machine/param.h> should never be included by applications since
it is an implementation detail.

Specify including <sys/param.h> in apps which use the CMSG*() macros.
<sys/socket.h> doesn't depend on <*/param.h> unless these macros are used.
Since these macros are undocumented, applications that use them should
expect problems :-).

Bruce



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" 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.0003220428230.4710-100000>