aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Dudka <kdudka@redhat.com>2011-08-03 18:00:07 +0200
committerKamil Dudka <kdudka@redhat.com>2011-08-03 18:07:07 +0200
commitddf0b30ffd62d5097429a6ea45d655aa55ba3b6b (patch)
tree59f7d3b4a1e5d9e3ca57b78c54e4bc4cbc0602a2
parenta7864c41db6ac12a1b67f2646f837174f75a240b (diff)
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
-rw-r--r--lib/curl_gssapi.c3
-rw-r--r--lib/curl_gssapi.h2
2 files changed, 3 insertions, 2 deletions
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,