[U-Boot] [PATCH] include/env.h: Ensure ulong is defined

Alistair Francis Alistair.Francis at wdc.com
Wed Nov 6 17:46:59 UTC 2019


On Wed, 2019-11-06 at 17:59 +0200, David Abdurachmanov wrote:
> On Wed, Nov 6, 2019 at 4:30 PM Alistair Francis
> <alistair.francis at wdc.com> wrote:
> > To fix these failures when building with musl:
> >    include/env.h:166:1: error: unknown type name 'ulong'; did you
> > mean 'long'?
> > ensure that ulong is defined.
> 
> I think, this was fixed before 2019.10 release by this patchset:
> 
> https://patchwork.ozlabs.org/cover/1152432/

That didn't fix the problem for musl.

Alistair

> 
> > Signed-off-by: Alistair Francis <alistair.francis at wdc.com>
> > ---
> >  include/env.h | 2 ++
> >  1 file changed, 2 insertions(+)
> > 
> > diff --git a/include/env.h b/include/env.h
> > index b72239f6a5..5ca49a3456 100644
> > --- a/include/env.h
> > +++ b/include/env.h
> > @@ -13,6 +13,8 @@
> >  #include <stdbool.h>
> >  #include <linux/types.h>
> > 
> > +typedef unsigned long           ulong;
> > +
> >  struct environment_s;
> > 
> >  /* Value for environment validity */
> > --
> > 2.23.0
> > 
> > _______________________________________________
> > U-Boot mailing list
> > U-Boot at lists.denx.de
> > https://lists.denx.de/listinfo/u-boot


More information about the U-Boot mailing list