aboutsummaryrefslogtreecommitdiff
path: root/include/libssh
diff options
context:
space:
mode:
Diffstat (limited to 'include/libssh')
-rw-r--r--include/libssh/priv.h4
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