Skip to content

linux: include <poll.h> instead of <sys/poll.h>.#516

Merged
thp merged 1 commit into
thp:masterfrom
baikiet:musl
May 14, 2026
Merged

linux: include <poll.h> instead of <sys/poll.h>.#516
thp merged 1 commit into
thp:masterfrom
baikiet:musl

Conversation

@baikiet
Copy link
Copy Markdown

@baikiet baikiet commented May 14, 2026

The <sys/poll.h> header is an old deprecated reference to the POSIX <poll.h> header. This works fine with the GNU C Library but musl libc emits a warning when we refer to <sys/poll.h> insted of <poll.h>.

This change updates the reference on Linux to use the new name.

The <sys/poll.h> header is an old deprecated reference to the POSIX <poll.h>
header. This works fine with the GNU C Library but musl libc emits a [warning](https://git.musl-libc.org/cgit/musl/commit/?id=54446d730cfb17c5f7bcf57f139458678f5066cc)
when we refer to <sys/poll.h> insted of <poll.h>.

This change updates the reference on Linux to use the new name.
@thp thp merged commit bf53d82 into thp:master May 14, 2026
3 of 4 checks passed
@thp
Copy link
Copy Markdown
Owner

thp commented May 14, 2026

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants