On 7/5/20 1:19 AM, Ariadne Conill wrote: > poll.h is the correct header as defined by POSIX. > musl libc warns about using sys/poll.h. > > Signed-off-by: Ariadne Conill <aria...@dereferenced.org> > --- > toys/pending/telnet.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/toys/pending/telnet.c b/toys/pending/telnet.c > index b8c9c140..eb03bd7b 100644 > --- a/toys/pending/telnet.c > +++ b/toys/pending/telnet.c > @@ -21,7 +21,7 @@ config TELNET > #include "toys.h" > #include <arpa/telnet.h> > #include <netinet/in.h> > -#include <sys/poll.h> > +#include <poll.h>
toys.h already includes poll so the right thing do here is remove the line. Rob _______________________________________________ Toybox mailing list Toybox@lists.landley.net http://lists.landley.net/listinfo.cgi/toybox-landley.net