summaryrefslogtreecommitdiff
path: root/lib/curl_gssapi.h
diff options
context:
space:
mode:
authorJulien Chaffraix <julien.chaffraix@gmail.com>2011-07-13 20:23:35 -0700
committerJulien Chaffraix <julien.chaffraix@gmail.com>2011-07-13 21:16:03 -0700
commit6e3285d5b197fb02d41b31a2ae78a57e5993248e (patch)
treee9c8cdb21e3909128619119b60602eaa66282923 /lib/curl_gssapi.h
parent44b58472378097faf9632d0dd9b4e478fb3433ed (diff)
downloadcurl-6e3285d5b197fb02d41b31a2ae78a57e5993248e.tar.gz
curl_gssapi: Guard files with HAVE_GSSAPI.
Bug: http://curl.haxx.se/mail/lib-2011-07/0074.html Reported and fix suggested by: Ben Greear
Diffstat (limited to 'lib/curl_gssapi.h')
-rw-r--r--lib/curl_gssapi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/curl_gssapi.h b/lib/curl_gssapi.h
index c5b58db58..c5fbefe7a 100644
--- a/lib/curl_gssapi.h
+++ b/lib/curl_gssapi.h
@@ -22,6 +22,8 @@
#include "setup.h"
+#ifdef HAVE_GSSAPI
+
#ifdef HAVE_GSSGNU
# include <gss.h>
#elif defined HAVE_GSSMIT
@@ -45,3 +47,5 @@ OM_uint32 Curl_gss_init_sec_context(
gss_buffer_t input_token,
gss_buffer_t output_token,
OM_uint32 * ret_flags);
+
+#endif /* HAVE_GSSAPI */