From: Daniel Stenberg Date: Tue, 19 Jun 2007 11:50:08 +0000 (+0000) Subject: extra precaution to make PATH_MAX always be defined X-Git-Tag: curl-7_16_3~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=891dffb52848563a1ad45c259ae69c895d599485;p=thirdparty%2Fcurl.git extra precaution to make PATH_MAX always be defined --- diff --git a/lib/ssh.c b/lib/ssh.c index 108c0156ac..6d3b5f0a8c 100644 --- a/lib/ssh.c +++ b/lib/ssh.c @@ -118,6 +118,11 @@ #include "memdebug.h" #endif +#ifndef PATH_MAX +#define PATH_MAX 1024 /* just an extra precaution since there are systems that + have their definition hidden well */ +#endif + #ifndef LIBSSH2_SFTP_S_IRUSR /* Here's a work-around for those of you who happend to run a libssh2 version that is 0.14 or older. We should remove this kludge as soon as we can