]> git.ipfire.org Git - thirdparty/linux.git/commit
tools/nolibc: add the more portable inttypes.h
authorWilly Tarreau <w@1wt.eu>
Sun, 2 Nov 2025 13:21:28 +0000 (14:21 +0100)
committerThomas Weißschuh <linux@weissschuh.net>
Sun, 2 Nov 2025 13:28:20 +0000 (14:28 +0100)
commit44bf8bbe29fd50ed2b8dfd1873bd22f76ca2f4d9
tree0d452c8114cfa25ef645292a4a103dc0931962ee
parent10f407c66061524f0da0384de76827e30268f98a
tools/nolibc: add the more portable inttypes.h

It's often recommended to only use inttypes.h instead of stdint.h for
portability reasons since the former is always present when the latter
is present, but not conversely, and the former includes the latter. Due
to this some simple programs fail to build when including inttypes.h.
Let's add one that simply includes nolibc.h to better support these
programs.

Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
tools/include/nolibc/Makefile
tools/include/nolibc/inttypes.h [new file with mode: 0644]