summaryrefslogtreecommitdiffstats
path: root/tools/include/nolibc/Makefile
diff options
context:
space:
mode:
authorVincent Dagonneau <v@vda.io>2023-03-04 15:26:03 +0100
committerPaul E. McKenney <paulmck@kernel.org>2023-03-20 08:45:21 -0700
commitc34da317e0466815d7f43cbd81b3380a11a45b52 (patch)
tree5239cbd881998dd60786699498bc0b09e39e59e1 /tools/include/nolibc/Makefile
parentd548e9ae07162e2904b72345a60a9e3e7df4709e (diff)
downloadlinux-stable-c34da317e0466815d7f43cbd81b3380a11a45b52.tar.gz
linux-stable-c34da317e0466815d7f43cbd81b3380a11a45b52.tar.bz2
linux-stable-c34da317e0466815d7f43cbd81b3380a11a45b52.zip
tools/nolibc: add stdint.h
Nolibc works fine for small and limited program however most program expect integer types to be defined in stdint.h rather than std.h. This is a quick fix that moves the existing integer definitions in std.h to stdint.h. Signed-off-by: Vincent Dagonneau <v@vda.io> Reviewed-by: Thomas Weißschuh <linux@weissschuh.net> Signed-off-by: Willy Tarreau <w@1wt.eu> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/include/nolibc/Makefile')
-rw-r--r--tools/include/nolibc/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/include/nolibc/Makefile b/tools/include/nolibc/Makefile
index cfd06764b5ae..ec57d3932506 100644
--- a/tools/include/nolibc/Makefile
+++ b/tools/include/nolibc/Makefile
@@ -25,8 +25,8 @@ endif
nolibc_arch := $(patsubst arm64,aarch64,$(ARCH))
arch_file := arch-$(nolibc_arch).h
-all_files := ctype.h errno.h nolibc.h signal.h std.h stdio.h stdlib.h string.h \
- sys.h time.h types.h unistd.h
+all_files := ctype.h errno.h nolibc.h signal.h std.h stdint.h stdio.h stdlib.h \
+ string.h sys.h time.h types.h unistd.h
# install all headers needed to support a bare-metal compiler
all: headers