From 40c2c3270db9c33e22d219148c660f63c3ddf3ca Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 11 Nov 2009 21:15:34 +0000 Subject: - 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. --- lib/krb5.c | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'lib/krb5.c') diff --git a/lib/krb5.c b/lib/krb5.c index e76391228..36afc3c46 100644 --- a/lib/krb5.c +++ b/lib/krb5.c @@ -46,14 +46,17 @@ #include #endif #include -#ifdef HAVE_GSSMIT -/* MIT style */ -#include -#include -#include + +#ifdef HAVE_GSSGNU +# include +#elif defined HAVE_GSSMIT + /* MIT style */ +# include +# include +# include #else -/* Heimdal-style */ -#include + /* Heimdal-style */ +# include #endif #include "urldata.h" -- cgit v1.2.1