freebsd-nq/sys/alpha
Jeroen Ruigrok van der Werven 6b1d8ceabe Fix CMSG and ALIGN macro usage.
Previously we had to include <machine/param.h> or <sys/param.h> bogusly
due to the fact that <sys/socket.h> CMSG macros needed the ALIGN macro,
which was defined in param.h.  However, including param.h was a disaster
for namespace pollution.
This solution, as contributed by shin a while ago, fixes it elegantly
by wrapping the definitions around some namespace pollution preventer
definitions.
This patch was long overdue.
This should allow any network programmer to use <sys/socket.h> as
before.

PR:		19971, 20530
Submitted by:	Martin Kaeske <MartinKaeske@lausitz.net>
		Mark Andrews <Mark.Andrews@nominum.com>
Patch submitted by:	shin
Reviewed by:	bde
2000-11-08 16:59:25 +00:00
..
alpha (KTR debugging) Say when we're disabling a vector. 2000-11-07 22:29:21 +00:00
conf Sync with i386's GENERIC rev 1.287 (Minor ordering changes to make more 2000-11-07 22:09:33 +00:00
include Fix CMSG and ALIGN macro usage. 2000-11-08 16:59:25 +00:00
isa Pass in the new-bus flags to alpha_setup_intr(). 2000-11-01 18:40:42 +00:00
linux Fix generated include path. 2000-11-04 07:21:37 +00:00
mcbus Pass in the new-bus flags to alpha_setup_intr(). 2000-11-01 18:40:42 +00:00
osf1 Add M_ZERO to malloc calls where the result is just bzeroed. 2000-10-27 16:36:26 +00:00
pci Pass in the new-bus flags to alpha_setup_intr(). 2000-11-01 18:40:42 +00:00
tc Make all Ethernet drivers attach using ether_ifattach() and detach using 2000-07-13 22:54:34 +00:00
tlsb Pass in the new-bus flags to alpha_setup_intr(). 2000-11-01 18:40:42 +00:00