From: Collin Funk Date: Fri, 25 Jul 2025 00:44:10 +0000 (-0700) Subject: manual: Use sys/select.h instead of sys/time.h for select example. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e3e14fd4c9e3692a62cfc2fa65286d7c835c985;p=thirdparty%2Fglibc.git manual: Use sys/select.h instead of sys/time.h for select example. The original example works on glibc since sys/time.h includes sys/select.h. However, since POSIX requires that select is defined in sys/select.h this change makes the example more portable. Reported by Gavin Smith in: . Reviewed-by: Adhemerval Zanella --- diff --git a/manual/examples/select.c b/manual/examples/select.c index 1398c7f642..341b65f11d 100644 --- a/manual/examples/select.c +++ b/manual/examples/select.c @@ -20,7 +20,7 @@ #include #include #include -#include +#include /*@end group*/ /*@group*/