summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kex.c2
-rw-r--r--misc.c2
-rw-r--r--packet.c2
-rw-r--r--ssh-pkcs11-helper.c2
4 files changed, 8 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 @@
33#include <stdlib.h> 33#include <stdlib.h>
34#include <string.h> 34#include <string.h>
35#include <unistd.h> 35#include <unistd.h>
36#ifdef HAVE_POLL_H
36#include <poll.h> 37#include <poll.h>
38#endif
37 39
38#ifdef WITH_OPENSSL 40#ifdef WITH_OPENSSL
39#include <openssl/crypto.h> 41#include <openssl/crypto.h>
diff --git a/misc.c b/misc.c
index 88833d7ff..78c00eb8e 100644
--- a/misc.c
+++ b/misc.c
@@ -38,7 +38,9 @@
38#ifdef HAVE_LIBGEN_H 38#ifdef HAVE_LIBGEN_H
39# include <libgen.h> 39# include <libgen.h>
40#endif 40#endif
41#ifdef HAVE_POLL_H
41#include <poll.h> 42#include <poll.h>
43#endif
42#include <signal.h> 44#include <signal.h>
43#include <stdarg.h> 45#include <stdarg.h>
44#include <stdio.h> 46#include <stdio.h>
diff --git a/packet.c b/packet.c
index 817da43b5..7a703d695 100644
--- a/packet.c
+++ b/packet.c
@@ -58,7 +58,9 @@
58#include <string.h> 58#include <string.h>
59#include <unistd.h> 59#include <unistd.h>
60#include <limits.h> 60#include <limits.h>
61#ifdef HAVE_POLL_H
61#include <poll.h> 62#include <poll.h>
63#endif
62#include <signal.h> 64#include <signal.h>
63#include <time.h> 65#include <time.h>
64 66
diff --git a/ssh-pkcs11-helper.c b/ssh-pkcs11-helper.c
index 3bcc2440b..219ce9b5d 100644
--- a/ssh-pkcs11-helper.c
+++ b/ssh-pkcs11-helper.c
@@ -26,7 +26,9 @@
26 26
27#include <stdlib.h> 27#include <stdlib.h>
28#include <errno.h> 28#include <errno.h>
29#ifdef HAVE_POLL_H
29#include <poll.h> 30#include <poll.h>
31#endif
30#include <stdarg.h> 32#include <stdarg.h>
31#include <string.h> 33#include <string.h>
32#include <unistd.h> 34#include <unistd.h>