aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/http_ntlm.c2
-rw-r--r--lib/url.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/lib/http_ntlm.c b/lib/http_ntlm.c
index fa719774c..cc04cef51 100644
--- a/lib/http_ntlm.c
+++ b/lib/http_ntlm.c
@@ -762,6 +762,8 @@ Curl_ntlm_cleanup(struct connectdata *conn)
#ifdef USE_WINDOWS_SSPI
ntlm_sspi_cleanup(&conn->ntlm);
ntlm_sspi_cleanup(&conn->proxyntlm);
+#else
+ (void)conn;
#endif
}
diff --git a/lib/url.c b/lib/url.c
index 06b330391..921df3d15 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -130,6 +130,7 @@ void idn_free (void *ptr); /* prototype from idn-free.h, not provided by
#include "url.h"
#include "connect.h"
#include "inet_ntop.h"
+#include "http_ntlm.h"
#include <ca-bundle.h>
#if defined(HAVE_INET_NTOA_R) && !defined(HAVE_INET_NTOA_R_DECL)