Christian Krause fixed a build failure when building with gss support

enabled and FTP disabled.
This commit is contained in:
Daniel Stenberg 2008-11-16 12:42:53 +00:00
parent 3c4b69f95d
commit c76d939563
3 changed files with 7 additions and 2 deletions

View file

@ -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