Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tls: Include <poll.h> instead of <sys/poll.h>
musl libc warns about these: ``` In file included from src/tls/socket-io.c:32: /usr/x86_64-pc-linux-musl/include/sys/poll.h:1:2: warning: redirecting incorrect #include <sys/poll.h> to <poll.h> [-W#warnings] 1 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h> | ^ CC src/pam-ssh-add/pam_ssh_add_so-pam-ssh-add.o In file included from src/tls/connection.c:37: /usr/x86_64-pc-linux-musl/include/sys/poll.h:1:2: warning: redirecting incorrect #include <sys/poll.h> to <poll.h> [-W#warnings] 1 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h> | ^ ``` and glibc's `<sys/poll.h>` also just wraps `<poll.h>`. Use `<poll.h>` to get rid of the warning on musl based systems
- Loading branch information