aboutsummaryrefslogtreecommitdiff
path: root/lib/sendf.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2008-11-16 12:42:53 +0000
committerDaniel Stenberg <daniel@haxx.se>2008-11-16 12:42:53 +0000
commitc76d9395633e00205b1b83bd82c811f9fa4cca1e (patch)
treeff270677da310505effa9f0ab787d2e8abfb1787 /lib/sendf.c
parent3c4b69f95dbb4f62977557317a6962eadaad9d8f (diff)
Christian Krause fixed a build failure when building with gss support
enabled and FTP disabled.
Diffstat (limited to 'lib/sendf.c')
-rw-r--r--lib/sendf.c3
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