RE: [PATCH] ppc32: fix mktree utility in 64-bit cross-compileenvironment

From: Zink, Dan
Date: Wed Aug 04 2004 - 11:18:27 EST


> On Tue, 2004-08-03 at 17:01, Zink, Dan wrote:
> > --- arch/ppc/boot/utils/mktree.c.old 2004-08-03
> 16:31:09.568992888
> > -0500
> > +++ arch/ppc/boot/utils/mktree.c 2004-08-03 16:32:26.773256056
> > -0500
> > @@ -15,19 +15,20 @@
> > #include <sys/stat.h>
> > #include <unistd.h>
> > #include <netinet/in.h>
> > +#include <asm/types.h>
>
> You'll notice we don't include any other <asm/*> headers;
> this tool can be built standalone.
>
> Is there a reason not to use <stdint.h> and uint32_t?
>

No reason. If that's the way you prefer, here is a new patch.

Dan

Attachment: ppcfix.patch
Description: ppcfix.patch