OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: port complains about machine/endian.h

From: Jacob Meuser (jakemsrjakemsr.com)
Date: Tue Jan 06 2004 - 02:46:30 CST


On Tue, Jan 06, 2004 at 08:33:53AM +0000, Miod Vallat wrote:
> > I'm trying to make a port for libdv.sourceforge.net.
> >
> > I get the following errors, and don't know why.
>
> [...]
>
> > In file included from /usr/include/machine/endian.h:68,
> > from YUY2.c:37:
>
> This code seems to include <machine/endian.h> directly. This is wrong.
> It should include <sys/types.h> instead to get <machine/endian.h> and
> its proper dependencies right.

Thanks.

--
<jakemsrjakemsr.com>