diff --git a/example/scp_write_nonblock.c b/example/scp_write_nonblock.c index 360c150d..76b02fb7 100644 --- a/example/scp_write_nonblock.c +++ b/example/scp_write_nonblock.c @@ -20,6 +20,9 @@ #ifdef HAVE_ARPA_INET_H #include #endif +#ifdef HAVE_SYS_TIME_H +#include +#endif #include #include /* for time() */ diff --git a/example/sftp_RW_nonblock.c b/example/sftp_RW_nonblock.c index 7a87bf85..94e7aeee 100644 --- a/example/sftp_RW_nonblock.c +++ b/example/sftp_RW_nonblock.c @@ -27,6 +27,9 @@ #ifdef HAVE_NETINET_IN_H #include #endif +#ifdef HAVE_SYS_TIME_H +#include +#endif #include diff --git a/example/sftp_write_nonblock.c b/example/sftp_write_nonblock.c index fd90b083..4bc27b44 100644 --- a/example/sftp_write_nonblock.c +++ b/example/sftp_write_nonblock.c @@ -26,6 +26,9 @@ #ifdef HAVE_ARPA_INET_H #include #endif +#ifdef HAVE_SYS_TIME_H +#include +#endif #include #include /* for time() */ diff --git a/example/sftp_write_sliding.c b/example/sftp_write_sliding.c index 3f1321d8..c9f28e30 100644 --- a/example/sftp_write_sliding.c +++ b/example/sftp_write_sliding.c @@ -26,6 +26,9 @@ #ifdef HAVE_ARPA_INET_H #include #endif +#ifdef HAVE_SYS_TIME_H +#include +#endif #include #include /* for time() */