]> Gentwo Git Trees - linux/.git/commit
tools/nolibc: provide the portable sys/select.h
authorWilly Tarreau <w@1wt.eu>
Sun, 2 Nov 2025 10:46:11 +0000 (11:46 +0100)
committerThomas Weißschuh <linux@weissschuh.net>
Sun, 2 Nov 2025 12:36:19 +0000 (13:36 +0100)
commit10f407c66061524f0da0384de76827e30268f98a
treeee5addaf7cfb179245f7eac7ee9ca8c71b47fcf0
parentdb75042e93cfb0bb1ecd55771cc873917074f565
tools/nolibc: provide the portable sys/select.h

Modern programs tend to include sys/select.h to get FD_SET() and
FD_CLR() definitions as well as struct fd_set, but in our case it
didn't exist.

The definitions were moved from types.h to sys/select.h, which is
now included from nolibc.h, and the sys_select() definition moved
there as well from sys.h.

Signed-off-by: Willy Tarreau <w@1wt.eu>
[Thomas: adapt to current -next branch]
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
tools/include/nolibc/Makefile
tools/include/nolibc/nolibc.h
tools/include/nolibc/sys.h
tools/include/nolibc/sys/select.h [new file with mode: 0644]
tools/include/nolibc/types.h