Files
u-boot/include
Sergei Trofimovich d11fa9c16b include: fix 'ulong' definition on musl targets
The build failure was originally reported on arm64-musl
target at https://bugs.gentoo.org/703132. Here is the amd64-musl
variant:

```
$ LANG=C make CROSS_COMPILE=x86_64-gentoo-linux-musl- tools-only_defconfig -j$(nproc)
$ LANG=C make CROSS_COMPILE=x86_64-gentoo-linux-musl- tools-all            -j$(nproc)
...
In file included from tools/env/../../env/flags.c:7,
                 from tools/env/env_flags.c:1:
include/env.h:159:1: error: unknown type name 'ulong'; did you mean 'long'?
  159 | ulong env_get_ulong(const char *name, int base, ulong default_val);
      | ^~~~~
      | long
```

Note: 'ulong' is not defined there.

On glibc 'ulong' comes from <sys/types.h>:

```c
/* Old compatibility names for C types.  */
typedef unsigned long int ulong;
```

On musl it comes from <sys/types.h> as well but from under different guards:

```c
typedef unsigned long u_long, ulong;
```

The change inlines 'ulong' define similar to 'uint' define.

Bug: https://bugs.gentoo.org/703132
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2020-01-03 09:47:10 -05:00
..
2019-12-06 16:44:20 -05:00
2019-10-16 05:42:27 +02:00
2019-09-04 11:37:19 -05:00
2019-11-14 07:09:34 -06:00
2019-11-17 17:22:53 +08:00
2019-07-24 13:16:29 -04:00
2019-11-02 18:00:51 +08:00
2019-09-20 20:09:19 +02:00
2019-07-19 11:11:09 +08:00
2019-04-23 20:26:43 -06:00
2019-12-09 09:47:43 -06:00
2019-10-13 23:34:43 +02:00
2019-10-06 16:02:37 +02:00
2019-04-22 12:06:39 -04:00
2019-02-20 15:27:09 +08:00
2019-02-09 12:50:22 -07:00
2019-10-14 09:31:41 +02:00
2019-11-05 10:27:18 +01:00
2019-11-07 18:39:16 -05:00
2019-08-11 16:43:41 -04:00
2019-02-02 08:19:17 -05:00
2019-12-02 18:23:11 -05:00
2019-08-02 11:19:14 -04:00
2019-05-20 13:50:34 +02:00
2019-05-20 13:50:34 +02:00
2019-12-06 16:44:19 -05:00
2019-11-03 07:20:26 +08:00
2019-02-01 16:59:12 +01:00
2019-05-21 17:33:23 -06:00
2019-12-02 18:23:09 -05:00
2019-07-19 20:14:50 +02:00