summaryrefslogtreecommitdiffstats
path: root/channels.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2022-02-10 13:27:02 +0100
committerDarren Tucker <dtucker@dtucker.net>2022-02-10 13:51:02 +0100
commit9fa63a19f68bc87452d3cf5c577cafad2921b7a4 (patch)
treedebc97b38051974c3b2ce7f49885d07f02ff632c /channels.c
parentWe now support POLLPRI so actually define it. (diff)
downloadopenssh-9fa63a19f68bc87452d3cf5c577cafad2921b7a4.tar.xz
openssh-9fa63a19f68bc87452d3cf5c577cafad2921b7a4.zip
Put poll.h inside ifdef.
Diffstat (limited to 'channels.c')
-rw-r--r--channels.c2
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>