tools/nolibc: add sys/types.h shim

This is the location regular userspace expects the header.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Acked-by: Willy Tarreau <w@1wt.eu>
Link: https://lore.kernel.org/r/20250416-nolibc-split-sys-v1-9-a069a3f1d145@linutronix.de
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
This commit is contained in:
Thomas Weißschuh 2025-04-16 14:06:24 +02:00 committed by Thomas Weißschuh
parent face777a44
commit ffb94910c3
2 changed files with 8 additions and 0 deletions

View File

@ -49,6 +49,7 @@ all_files := \
sys/stat.h \
sys/syscall.h \
sys/time.h \
sys/types.h \
time.h \
types.h \
unistd.h \

View File

@ -0,0 +1,7 @@
/* SPDX-License-Identifier: LGPL-2.1 OR MIT */
/*
* sys/types.h shim for NOLIBC
* Copyright (C) 2025 Thomas Weißschuh <thomas.weissschuh@linutronix.de>
*/
#include "../types.h"