u-boot-brain/include/u-boot
Sergei Trofimovich c6ad93612a include/u-boot/crc.h: pull 'uint' 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)
...
include/u-boot/crc.h:37:44: error: unknown type name 'uint'; did you mean 'int'?
   37 | void crc16_ccitt_wd_buf(const uint8_t *in, uint len,
      |                                            ^~~~
      |                                            int
```

Note: 'uint' is not defined there.

On glibc 'uint' comes from <sys/types.h> and happens to work on most .c files.

The change imports 'uint' declaration from '<compiler.h>'.

Bug: https://bugs.gentoo.org/703132
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2020-01-03 09:47:10 -05:00
..
crc.h include/u-boot/crc.h: pull 'uint' definition on musl targets 2020-01-03 09:47:10 -05:00
md5.h GCC47: Fix warning in md5.c 2012-04-29 14:14:08 +02:00
rsa-checksum.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
rsa-mod-exp.h xilinx: zynq: Add support to secure images 2018-07-19 10:49:54 +02:00
rsa.h rsa: add support of padding pss 2018-12-03 10:44:10 -05:00
sha1.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sha256.h rsa: Verify RSA padding programatically 2016-11-21 14:07:30 -05:00
u-boot.lds.h start a linker script helper file 2009-08-23 22:33:33 +02:00
variadic-macro.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
zlib.h lib/zlib: sparse fixes 2012-11-04 11:00:36 -07:00