mirror of
https://github.com/curl/curl.git
synced 2026-07-29 03:43:09 +03:00
- Marco Maggi reported that compilation failed when configured --with-gssapi
and GNU GSS installed due to a missing mutual exclusion of header files in the Kerberos 5 code path. He also verified that my patch worked for him.
This commit is contained in:
parent
b3e8cf539d
commit
40c2c3270d
3 changed files with 16 additions and 7 deletions
17
lib/krb5.c
17
lib/krb5.c
|
|
@ -46,14 +46,17 @@
|
|||
#include <netdb.h>
|
||||
#endif
|
||||
#include <string.h>
|
||||
#ifdef HAVE_GSSMIT
|
||||
/* MIT style */
|
||||
#include <gssapi/gssapi.h>
|
||||
#include <gssapi/gssapi_generic.h>
|
||||
#include <gssapi/gssapi_krb5.h>
|
||||
|
||||
#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>
|
||||
/* Heimdal-style */
|
||||
# include <gssapi.h>
|
||||
#endif
|
||||
|
||||
#include "urldata.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue