tools/nolibc: drop custom definition of struct rusage
authorThomas Weißschuh <linux@weissschuh.net>
Wed, 22 Nov 2023 22:22:52 +0000 (23:22 +0100)
committerThomas Weißschuh <linux@weissschuh.net>
Mon, 11 Dec 2023 21:38:34 +0000 (22:38 +0100)
commit7b20478b777c3be39a2b69b08a6c0b50c10105f1
treeaab6f3bdc4caf0ab903f43e9cc6c9ce712e751a6
parent825f404776b4f9d5f4a35545ea2d258bb16c0d4e
tools/nolibc: drop custom definition of struct rusage

A future commit will include linux/resource.h, which will conflict with
the private definition of struct rusage in nolibc.
Avoid the conflict by dropping the private definition and use the one
from the UAPI headers.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/lkml/20231123-nolibc-rlimit-v1-1-a428b131de2a@weissschuh.net/
Acked-by: Willy Tarreau <w@1wt.eu>
tools/include/nolibc/types.h