diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-05-01 13:37:36 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-05-01 13:37:36 +0000 |
commit | f213e857abc1894530b389fb6635ba5b8eac94a8 (patch) | |
tree | 9e915b8934b84cb21c8cebd5801a12988a34e6eb /lib | |
parent | eb6130baa76ad0689de5eb4a24f5717eed1baa89 (diff) |
Andy Cedilnik fixed some compiler warnings
Diffstat (limited to 'lib')
-rw-r--r-- | lib/getinfo.c | 2 | ||||
-rw-r--r-- | lib/ssluse.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/getinfo.c b/lib/getinfo.c index c05ec6ec4..28975aa94 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 <stdlib.h> #endif /* diff --git a/lib/ssluse.c b/lib/ssluse.c index 6a7f2aedb..a15649be9 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 |