aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/ssh.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ssh.c b/lib/ssh.c
index 21f4f9dbc..6b849c611 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