diff options
author | Daniel Stenberg <daniel@haxx.se> | 2007-06-19 11:50:08 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2007-06-19 11:50:08 +0000 |
commit | 891dffb52848563a1ad45c259ae69c895d599485 (patch) | |
tree | 2008cd6a77c073d5c318007ee276f67e29c0921b | |
parent | f0b361ecc16b124813cb494e9d193abd442c1be0 (diff) |
extra precaution to make PATH_MAX always be defined
-rw-r--r-- | lib/ssh.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |