Subject: Re: Error in clnp.h.
To: Jan-Oliver Neumann <jan@encap.Hanse.DE>
From: Chris G. Demetriou <cgd@postgres.Berkeley.EDU>
List: netbsd-bugs
Date: 04/11/1994 22:25:53
> There's an error letting the netiso stuff think the machine is a
> big endian one if 'vax' isn't defined.
>
> [ ... ]
> 
> clnp.h should just include endian.h and that dangerous definitions should
> be deleted from clnp.h.

You're right that the code fragment is bogus.  however, the bogus
deinitions will never be made -- you need <sys/types.h> for clnp.h
(for the def'ns of u_short, etc.), and <sys/types.h> pulls in
<machine/endian.h>.

The bogus frag is now gone.


chris

------------------------------------------------------------------------------