diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libssh/priv.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h index 3e549b79..b4729bb8 100644 --- a/include/libssh/priv.h +++ b/include/libssh/priv.h @@ -169,7 +169,11 @@ int gettimeofday(struct timeval *__p, void *__t); /* some constants */ #ifndef PATH_MAX -# define PATH_MAX 4096 +#ifdef MAX_PATH +#define PATH_MAX MAX_PATH +#else +#define PATH_MAX 4096 +#endif #endif #ifndef MAX_PACKET_LEN |