diff --git a/lib/getinfo.c b/lib/getinfo.c index c05ec6ec4264dc0ff7fb4ca2e5298d7220c33088..28975aa949400bcbb6e700584ff013e499f6daa8 100644 --- a/lib/getinfo.c +++ b/lib/getinfo.c @@ -38,6 +38,8 @@ /* Make this the last #include */ #ifdef MALLOCDEBUG #include "memdebug.h" +#else +#include #endif /* diff --git a/lib/ssluse.c b/lib/ssluse.c index 6a7f2aedbfaa09274aa547769affb5744deb2f72..a15649be9bd271459c4b2e130d61b4bd96f5c944 100644 --- a/lib/ssluse.c +++ b/lib/ssluse.c @@ -697,6 +697,7 @@ static int Curl_ASN1_UTCTIME_output(struct connectdata *conn, #endif /* ====================================================== */ +#ifdef USE_SSLEAY static int cert_hostcheck(const char *certname, const char *hostname) { @@ -733,6 +734,7 @@ cert_hostcheck(const char *certname, const char *hostname) } return 0; } +#endif /* ====================================================== */ CURLcode