From: Willy Tarreau Date: Sun, 2 Apr 2023 08:13:57 +0000 (+0200) Subject: tools/nolibc: fix build of the test case using glibc X-Git-Tag: v6.5-rc1~208^2~50 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2df07fc55d5cf377308fad02a022cf0f0401daf4;p=thirdparty%2Fkernel%2Flinux.git tools/nolibc: fix build of the test case using glibc Some extra tests for various integer types and limits were added by commit d1209597ff00 ("tools/nolibc: add tests for the integer limits in stdint.h"), but we forgot to retest with glibc. Stddef and stdint are now needed for the program to build there. Cc: Vincent Dagonneau Signed-off-by: Willy Tarreau Signed-off-by: Paul E. McKenney --- diff --git a/tools/testing/selftests/nolibc/nolibc-test.c b/tools/testing/selftests/nolibc/nolibc-test.c index 6f2f109569a3c..1bafbd8da6af9 100644 --- a/tools/testing/selftests/nolibc/nolibc-test.c +++ b/tools/testing/selftests/nolibc/nolibc-test.c @@ -34,6 +34,8 @@ #include #include #include +#include +#include #include #endif #endif