diff options
Diffstat (limited to 'include/libssh')
-rw-r--r-- | include/libssh/priv.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h index 0aab4edb..2123fc03 100644 --- a/include/libssh/priv.h +++ b/include/libssh/priv.h @@ -44,6 +44,10 @@ # endif #endif /* !defined(HAVE_STRTOULL) */ +#if !defined(HAVE_STRNDUP) +char *strndup(const char *s, size_t n); +#endif /* ! HAVE_STRNDUP */ + #ifdef HAVE_BYTESWAP_H #include <byteswap.h> #endif |