Gisle Vanem in gmane.comp.web.curl.library (Wed, 05 Nov 2014 12:10:49
+0000):
>Jan Ehrhardt wrote
>
>> Correction:
>> The same happens with WITH_SSH2=static. I am building against LIBSSH2
>> 1.4.3. Curl 7.38.0 builded fine. Any idea what I am missing?
>
>Nothing. I noted that too and commented on it here:
>   
> https://github.com/bagder/curl/commit/fa7d04fed4d4578fe29bdff0b5465f6e4a7da81a
>
>I.e. lib/ssh.c needs this patch:
>
>@@ -94,6 +94,9 @@
>  #ifdef WIN32
>  #  undef  PATH_MAX
>  #  define PATH_MAX MAX_PATH
>+#  ifndef R_OK
>+#    define R_OK 4
>+#  endif
>  #endif

This patch works fine.

jan

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to