From 93c4de6974f8ada14122e51287ff273a35177945 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 5 May 2019 17:08:22 +0200 Subject: pingpong: disable more when no pingpong enabled --- lib/vauth/cleartext.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/vauth/cleartext.c') diff --git a/lib/vauth/cleartext.c b/lib/vauth/cleartext.c index 8f972e31c..6f452c169 100644 --- a/lib/vauth/cleartext.c +++ b/lib/vauth/cleartext.c @@ -25,6 +25,9 @@ #include "curl_setup.h" +#if !defined(CURL_DISABLE_IMAP) || !defined(CURL_DISABLE_SMTP) || \ + !defined(CURL_DISABLE_POP3) + #include #include "urldata.h" @@ -162,3 +165,5 @@ CURLcode Curl_auth_create_external_message(struct Curl_easy *data, /* This is the same formatting as the login message */ return Curl_auth_create_login_message(data, user, outptr, outlen); } + +#endif /* if no users */ -- cgit v1.2.3