Subject: fallout from use of u_int32_t in i386
To: None <current-users@NetBSD.ORG>
From: Mike Long <mike.long@analog.com>
List: current-users
Date: 05/06/1996 18:32:46
I had to fix some files in order to get my system to build after
/sys/arch/i386/include/endian.h was changed to use u_int{16,32}_t
in the [hn]to[nh][sl]() macros.  It is now necessary to #include
<sys/types.h> before <machine/endian.h> on the i386.  Some of the
affected files (the ones I remember) were:

src/lib/libc/stdlib/strtod.c
src/lib/libc/stdlib/strtoq.c
src/lib/libm/src/math_private.h

Should <machine/endian.h> depend on <sys/types.h> in this manner?
If that's valid, then I can send-pr the changes I had to make.
-- 
Mike Long <mike.long@analog.com>     <URL:http://www.shore.net/~mikel>
VLSI Design Engineer         finger mikel@shore.net for PGP public key
Analog Devices, CPD Division          CCBF225E7D3F7ECB2C8F7ABB15D9BE7B
Norwood, MA 02062 USA       (eq (opinion 'ADI) (opinion 'mike)) -> nil