From ddf0b30ffd62d5097429a6ea45d655aa55ba3b6b Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Wed, 3 Aug 2011 18:00:07 +0200 Subject: curl_gssapi: add a missing include of sendf.h ... to avoid build failure when GSS_C_DELEG_POLICY_FLAG is not defined. Reported by: Paul Howarth --- lib/curl_gssapi.c | 3 ++- lib/curl_gssapi.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/curl_gssapi.c b/lib/curl_gssapi.c index 7c6f57ad4..b9c8ad0cf 100644 --- a/lib/curl_gssapi.c +++ b/lib/curl_gssapi.c @@ -25,9 +25,10 @@ #ifdef HAVE_GSSAPI #include "curl_gssapi.h" +#include "sendf.h" OM_uint32 Curl_gss_init_sec_context( - const struct SessionHandle *data, + struct SessionHandle *data, OM_uint32 * minor_status, gss_ctx_id_t * context, gss_name_t target_name, diff --git a/lib/curl_gssapi.h b/lib/curl_gssapi.h index 6103ff1ac..fd4596b80 100644 --- a/lib/curl_gssapi.h +++ b/lib/curl_gssapi.h @@ -43,7 +43,7 @@ /* Common method for using gss api */ OM_uint32 Curl_gss_init_sec_context( - const struct SessionHandle *data, + struct SessionHandle *data, OM_uint32 * minor_status, gss_ctx_id_t * context, gss_name_t target_name, -- cgit v1.2.3