diff options
author | Gisle Vanem <gvanem@yahoo.no> | 2014-11-05 13:10:49 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2014-11-05 13:09:08 +0000 |
commit | 3cfe3bc0010a8089c689b8c01a4abe39ba839191 (patch) | |
tree | 0b81112e23e3249740081f4980ad86233a7aa606 | |
parent | 92e7e346f35b89d89c079403e5aeb16bee0e8836 (diff) | |
download | curl-3cfe3bc0010a8089c689b8c01a4abe39ba839191.tar.gz |
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
-rw-r--r-- | lib/ssh.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |