summaryrefslogtreecommitdiffstats
path: root/clientloop.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 /clientloop.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 'clientloop.c')
-rw-r--r--clientloop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/clientloop.c b/clientloop.c
index fd1909805..f8350e672 100644
--- a/clientloop.c
+++ b/clientloop.c
@@ -76,7 +76,9 @@
#ifdef HAVE_PATHS_H
#include <paths.h>
#endif
+#ifdef HAVE_POLL_H
#include <poll.h>
+#endif
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>