aboutsummaryrefslogtreecommitdiff
path: root/lib/vauth/cleartext.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-05-05 17:08:22 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-05-13 08:17:10 +0200
commit93c4de6974f8ada14122e51287ff273a35177945 (patch)
tree1b8adacca76219f22a8a66b0799786688e16c0a9 /lib/vauth/cleartext.c
parent6d32b72822efd160963eb5988a705f6c2013d0a9 (diff)
pingpong: disable more when no pingpong enabled
Diffstat (limited to 'lib/vauth/cleartext.c')
-rw-r--r--lib/vauth/cleartext.c5
1 files changed, 5 insertions, 0 deletions
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 <curl/curl.h>
#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 */