diff options
Diffstat (limited to 'src/poll.c')
-rw-r--r-- | src/poll.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -115,10 +115,13 @@ static poll_fn ssh_poll_emu; #else /* _WIN32 */ #include <sys/select.h> #include <sys/socket.h> -#include <unistd.h> #include <sys/time.h> #endif /* _WIN32 */ +#ifdef HAVE_UNISTD_H +#include <unistd.h> +#endif + /* * This is a poll(2)-emulation using select for systems not providing a native |