summaryrefslogtreecommitdiffstats
path: root/kex.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2019-10-28 05:53:25 +0100
committerDarren Tucker <dtucker@dtucker.net>2019-10-28 06:27:53 +0100
commit6fc7e1c6fec3ba589869ae98e968c0e5e2e4695b (patch)
treeba9d0940364de84f789236e026577887af2e43c9 /kex.c
parentAdd a function call stackprotector tests. (diff)
downloadopenssh-6fc7e1c6fec3ba589869ae98e968c0e5e2e4695b.tar.xz
openssh-6fc7e1c6fec3ba589869ae98e968c0e5e2e4695b.zip
Wrap poll.h includes in HAVE_POLL_H.
Diffstat (limited to 'kex.c')
-rw-r--r--kex.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kex.c b/kex.c
index 49d701568..2195cea4e 100644
--- a/kex.c
+++ b/kex.c
@@ -33,7 +33,9 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#ifdef HAVE_POLL_H
#include <poll.h>
+#endif
#ifdef WITH_OPENSSL
#include <openssl/crypto.h>