summaryrefslogtreecommitdiff
path: root/lib/curl_gssapi.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-02-13 13:48:18 +0100
committerDaniel Stenberg <daniel@haxx.se>2019-02-13 13:55:01 +0100
commit40bb20b674806fd27121c9008010a11fdd7cd55d (patch)
tree71a7730c588aa437ac7b86320798d2560e19a51e /lib/curl_gssapi.h
parent71786c0505926aaf7e9b2477b2fb7ee16a915ec6 (diff)
downloadcurl-40bb20b674806fd27121c9008010a11fdd7cd55d.tar.gz
gssapi: fix warningsbagder/gssapi-warnings
Heimdal includes on FreeBSD spewed out lots of them. Less so now.
Diffstat (limited to 'lib/curl_gssapi.h')
-rw-r--r--lib/curl_gssapi.h16
1 files changed, 1 insertions, 15 deletions
diff --git a/lib/curl_gssapi.h b/lib/curl_gssapi.h
index 9700a2817..88f68dbbb 100644
--- a/lib/curl_gssapi.h
+++ b/lib/curl_gssapi.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 2011 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 2011 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -26,19 +26,6 @@
#include "urldata.h"
#ifdef HAVE_GSSAPI
-
-#ifdef HAVE_GSSGNU
-# include <gss.h>
-#elif defined HAVE_GSSMIT
- /* MIT style */
-# include <gssapi/gssapi.h>
-# include <gssapi/gssapi_generic.h>
-# include <gssapi/gssapi_krb5.h>
-#else
- /* Heimdal-style */
-# include <gssapi.h>
-#endif
-
extern gss_OID_desc Curl_spnego_mech_oid;
extern gss_OID_desc Curl_krb5_mech_oid;
@@ -71,5 +58,4 @@ void Curl_gss_log_error(struct Curl_easy *data, const char *prefix,
#define GSSAUTH_P_PRIVACY 4
#endif /* HAVE_GSSAPI */
-
#endif /* HEADER_CURL_GSSAPI_H */