tools: macOS: types.h: fix missing unsigned types
authorPetr Štetiar <ynezz@true.cz>
Mon, 30 Oct 2023 19:31:03 +0000 (19:31 +0000)
committerRISCi_ATOM <bob@bobcall.me>
Wed, 15 May 2024 15:35:22 +0000 (11:35 -0400)
commit681e999e8c3b3b8bf9bdef6030aad4880931bb18
tree8946f8319b97a9d4892cd68f269cd5750d0a959a
parent3c30c875f265a5d6541dbbe1f9cb3aefff86ed2b
tools: macOS: types.h: fix missing unsigned types

For some reason unsigned types were not added in commit 0a06fcf608dd
("build: fix kernel 5.4 on macos"), which led to bunch of hacks, like
commit 3cc57ba4627c ("uboot-sunxi: add missing type __u64") or
commit 997ff740dc44 ("uboot-mediatek: fix build on Mac OS X").

So lets add the missing unsigned types to workaround it in a bit more
maintainable way.

Fixes: #13833
Signed-off-by: Petr Štetiar <ynezz@true.cz>
(cherry picked from commit 4a8961f1dfba33b1e9a38dd0ecb3a8b03c46edbb)
tools/include/asm/types.h