From c76d9395633e00205b1b83bd82c811f9fa4cca1e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 16 Nov 2008 12:42:53 +0000 Subject: Christian Krause fixed a build failure when building with gss support enabled and FTP disabled. --- lib/sendf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') 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 -#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 -- cgit v1.2.3