diff --git a/lib/ssh.c b/lib/ssh.c index 21f4f9dbcb..6b849c611e 100644 --- a/lib/ssh.c +++ b/lib/ssh.c @@ -94,6 +94,9 @@ #ifdef WIN32 # undef PATH_MAX # define PATH_MAX MAX_PATH +# ifndef R_OK +# define R_OK 4 +# endif #endif #ifndef PATH_MAX