On Thu, Sep 06, 2001 at 01:54:32PM -0700, andrew may wrote: > > Yes, it's an imperfect solution at best. What would be correct is for us > > to copy all of the needed magic into our own header and toss it in > > arch/ppc/boot/include. With some proper magic for the !Linux case too. > > I am not sure why we would need to do this. mktree.c already includes > libc headers and the htonl defination is pulled in with them.
htonl works, it's just non-obvious. It should be on anything that conforms to BSD 4.3, so it should hopefully be fine for cross-platform. -- Tom Rini (TR1265) http://gate.crashing.org/~trini/ ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
