Skip to content

configure,rbldnsd.c: include <poll.h> instead of <sys/poll.h>. - #29

Open
orlitzky wants to merge 1 commit into
spamhaus:masterfrom
orlitzky:poll-header-location
Open

configure,rbldnsd.c: include <poll.h> instead of <sys/poll.h>.#29
orlitzky wants to merge 1 commit into
spamhaus:masterfrom
orlitzky:poll-header-location

Conversation

@orlitzky

Copy link
Copy Markdown
Contributor

As far back as 1997, the Single UNIX Specification (that later became POSIX) has said that <poll.h> is the file that provides poll() and friends:

https://pubs.opengroup.org/onlinepubs/7908799/xsh/poll.h.html

Most implementations also support the old <sys/poll.h>, but musl, for example, raises a warning about its usage:

https://git.musl-libc.org/cgit/musl/tree/include/sys/poll.h

This commit updates <sys/poll.h> to <poll.h> in two places.

Closes: #25

As far back as 1997, the Single UNIX Specification (that later became
POSIX) has said that <poll.h> is the file that provides poll() and
friends:

  https://pubs.opengroup.org/onlinepubs/7908799/xsh/poll.h.html

Most implementations also support the old <sys/poll.h>, but musl, for
example, raises a warning about its usage:

  https://git.musl-libc.org/cgit/musl/tree/include/sys/poll.h

This commit updates <sys/poll.h> to <poll.h> in two places.

Closes: spamhaus#25
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.

Warnings - Something to worry about?

1 participant