ssh: Fixed build on platforms where R_OK is not defined

Bug: http://curl.haxx.se/mail/lib-2014-11/0035.html
Reported-by: Jan Ehrhardt
This commit is contained in:
Gisle Vanem 2014-11-05 13:10:49 +00:00 committed by Steve Holme
parent 92e7e346f3
commit 3cfe3bc001

View File

@ -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