summaryrefslogtreecommitdiffstats
path: root/kex.c
diff options
context:
space:
mode:
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>