diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sendf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sendf.c b/lib/sendf.c index 566e26aa6..40d56d5a4 100644 --- a/lib/sendf.c +++ b/lib/sendf.c @@ -47,7 +47,8 @@ #define _MPRINTF_REPLACE /* use the internal *printf() functions */ #include <curl/mprintf.h> -#if defined(HAVE_KRB4) || defined(HAVE_GSSAPI) +/* the krb4 functions only exists for FTP and if krb4 or gssapi is defined */ +#if !defined(CURL_DISABLE_FTP) && (defined(HAVE_KRB4) || defined(HAVE_GSSAPI)) #include "krb4.h" #else #define Curl_sec_send(a,b,c,d) -1 |