aboutsummaryrefslogtreecommitdiff
path: root/lib/ssh.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2008-12-22 13:07:13 +0000
committerDaniel Stenberg <daniel@haxx.se>2008-12-22 13:07:13 +0000
commitd5bfec70af0d53eed164c9fdec142ebe8fe5c81d (patch)
tree46dd0e569f4ac6ed7c6c25ad8643659eecaa7d4c /lib/ssh.h
parent2a868173497c0b7ae251537903ee9941dddebeba (diff)
- Anthony Bryan provided a set of patches that cleaned up manual language,
corrected spellings and more.
Diffstat (limited to 'lib/ssh.h')
-rw-r--r--lib/ssh.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/ssh.h b/lib/ssh.h
index a8a9f5267..c271a06af 100644
--- a/lib/ssh.h
+++ b/lib/ssh.h
@@ -30,9 +30,15 @@
#endif
#if (LIBSSH2_VERSION_NUM >= 0x001300)
+/* libssh2 0.19 was the planned release version for a while before it was
+ decided to instead become 1.0. Thus >= 0x001300 should still work fine
+ for snapshots done during the 0.19 days as well as things released once
+ it was bumped to 1.0 */
# define HAVE_LIBSSH2_SESSION_BLOCK_DIRECTIONS 1
+# define HAVE_LIBSSH2_SFTP_SEEK2 1
#else
# undef HAVE_LIBSSH2_SESSION_BLOCK_DIRECTIONS
+# undef HAVE_LIBSSH2_SFTP_SEEK2 1
#endif
extern const struct Curl_handler Curl_handler_scp;