tools/nolibc: fix build of the test case using glibc
authorWilly Tarreau <w@1wt.eu>
Sun, 2 Apr 2023 08:13:57 +0000 (10:13 +0200)
committerPaul E. McKenney <paulmck@kernel.org>
Fri, 9 Jun 2023 18:33:04 +0000 (11:33 -0700)
commit2df07fc55d5cf377308fad02a022cf0f0401daf4
tree5a70b4c1b7e5ea2485c96b0d70d364aef14943cb
parentaa662d127e651df6e51d710014d7eb4c2a3049f5
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 <v@vda.io>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/testing/selftests/nolibc/nolibc-test.c