- 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:
Yang Tse
2009-11-11 21:15:34 +00:00
parent b3e8cf539d
commit 40c2c3270d
3 changed files with 16 additions and 7 deletions

View File

@@ -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"