diff --git a/include/libssh2_priv.h b/include/libssh2_priv.h index ea3ccfd..c8e2582 100644 --- a/include/libssh2_priv.h +++ b/include/libssh2_priv.h @@ -46,6 +46,12 @@ #include #endif #include +#ifndef OPENSSL_NO_SHA +#include +#endif +#ifndef OPENSSL_NO_MD5 +#include +#endif #define LIBSSH2_ALLOC(session, count) session->alloc((count), &(session)->abstract) #define LIBSSH2_REALLOC(session, ptr, count) ((ptr) ? session->realloc((ptr), (count), &(session)->abstract) : session->alloc((count), &(session)->abstract))