mirror of
https://github.com/curl/curl.git
synced 2026-04-11 12:01:42 +08:00
parent
9d1acd048c
commit
2d99cf0761
@ -102,6 +102,9 @@
|
||||
/* Define if you have GSS API. */
|
||||
#define HAVE_GSSAPI
|
||||
|
||||
/* Define if you have the <gssapi.h> header file. */
|
||||
#define HAVE_GSSAPI_H
|
||||
|
||||
/* Define if you have the GNU gssapi libraries */
|
||||
#undef HAVE_GSSGNU
|
||||
|
||||
|
||||
@ -191,7 +191,11 @@ typedef CURLcode (Curl_recv)(struct Curl_easy *data, /* transfer */
|
||||
# ifdef HAVE_GSSGNU
|
||||
# include <gss.h>
|
||||
# else
|
||||
# include <gssapi/gssapi.h>
|
||||
# ifdef HAVE_GSSAPI_H
|
||||
# include <gssapi.h>
|
||||
# else
|
||||
# include <gssapi/gssapi.h>
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
@ -237,7 +237,11 @@ CURLcode Curl_auth_create_xoauth_bearer_message(const char *user,
|
||||
# ifdef HAVE_GSSGNU
|
||||
# include <gss.h>
|
||||
# else
|
||||
# include <gssapi/gssapi.h>
|
||||
# ifdef HAVE_GSSAPI_H
|
||||
# include <gssapi.h>
|
||||
# else
|
||||
# include <gssapi/gssapi.h>
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
@ -81,7 +81,11 @@
|
||||
# ifdef HAVE_GSSGNU
|
||||
# include <gss.h>
|
||||
# else
|
||||
# include <gssapi/gssapi.h>
|
||||
# ifdef HAVE_GSSAPI_H
|
||||
# include <gssapi.h>
|
||||
# else
|
||||
# include <gssapi/gssapi.h>
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user