sysdeps: use POSIX poll.h instead of sys/poll.h

POSIX.1-2001 and POSIX.1-2008 specifies include <poll.h> so use that
rather than the non-standard/legacy include <sys/poll.h>.

This fixes the following warnings when building with musl libc:

    1 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
      |  ^~~~~~~

Signed-off-by: Natanael Copa <>
12 jobs for fix-poll-header in 8 minutes and 12 seconds (queued for 1 second)