libfdt: libfdt_env.h must be included first

Stephen Rothwell sfr at
Fri Sep 28 15:13:22 EST 2007

On Fri, 28 Sep 2007 14:52:06 +1000 David Gibson <david at> wrote:
> libfdt.h currently includes fdt.h, then libfdt_env.h.  This is
> incorrect, because depending on the environment into which libfdt is
> embedded, libfdt_env.h may be needed to define datatypes used in
> fdt.h.  This patch corrects the problem.

So why doesn't fdt.h include libfdt_env.h, then?

Stephen Rothwell                    sfr at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <>

More information about the Linuxppc-dev mailing list