spamhaus / rbldnsd

A small and fast DNS daemon especially made to serve DNSBL zones.
https://rbldnsd.io/
GNU General Public License v2.0
57 stars 12 forks source link

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

Open orlitzky opened 1 year ago

orlitzky commented 1 year ago

As far back as 1997, the Single UNIX Specification (that later became POSIX) has said that 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 in two places.

Closes: https://github.com/spamhaus/rbldnsd/issues/25