diff options
author | Darren Tucker <dtucker@dtucker.net> | 2022-02-10 13:27:02 +0100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2022-02-10 13:51:02 +0100 |
commit | 9fa63a19f68bc87452d3cf5c577cafad2921b7a4 (patch) | |
tree | debc97b38051974c3b2ce7f49885d07f02ff632c /channels.c | |
parent | We now support POLLPRI so actually define it. (diff) | |
download | openssh-9fa63a19f68bc87452d3cf5c577cafad2921b7a4.tar.xz openssh-9fa63a19f68bc87452d3cf5c577cafad2921b7a4.zip |
Put poll.h inside ifdef.
Diffstat (limited to 'channels.c')
-rw-r--r-- | channels.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/channels.c b/channels.c index cceac0324..d662ff03a 100644 --- a/channels.c +++ b/channels.c @@ -57,7 +57,9 @@ #include <fcntl.h> #include <limits.h> #include <netdb.h> +#ifdef HAVE_POLL_H #include <poll.h> +#endif #include <stdarg.h> #ifdef HAVE_STDINT_H # include <stdint.h> |