Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 May 2002 10:53:15 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Jeroen Ruigrok van der Werven <asmodai@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, <cvs-all@FreeBSD.org>
Subject:   Re: cvs commit: src/sys/dev/iir iir.c iir_ctrl.c iir_pci.c
Message-ID:  <20020505105107.Q710-100000@gamplex.bde.org>
In-Reply-To: <200205040822.g448M9h78975@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 4 May 2002, Jeroen Ruigrok van der Werven wrote:

> asmodai     2002/05/04 01:22:09 PDT
>
>   Modified files:        (Branch: RELENG_4)
>     sys/dev/iir          iir.c iir_ctrl.c iir_pci.c
>   Log:
>   Fix broken sourcefiles by removing #include <sys/endian.h> and adding
>   an #include to <machine/endian.h>.  STABLE does not have the former.

Including <machine/endian.h> directly is bogus.  The endianness functions
are implemented in <sys/types.h> in RELENG_4.  Includes of <sys/endian.h>
in -current should be translated to <sys/types.h> in RELENG_4 and then
usually deleted because <sys/types.h> is already included (indirectly
via <sys/param.h>).

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?20020505105107.Q710-100000>