From ef751a26d0cb746966aaee64cfb5d1a87efba535 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 24 Jun 2015 16:51:28 +0200 Subject: misc: Correctly guard the sys/time.h include Signed-off-by: Andreas Schneider --- src/poll.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/poll.c') diff --git a/src/poll.c b/src/poll.c index 05faba75..807b0a56 100644 --- a/src/poll.c +++ b/src/poll.c @@ -116,7 +116,11 @@ static poll_fn ssh_poll_emu; #else /* _WIN32 */ #include #include -#include + +# ifdef HAVE_SYS_TIME_H +# include +# endif + #endif /* _WIN32 */ #ifdef HAVE_UNISTD_H -- cgit