From: Yang Tse Date: Wed, 11 Nov 2009 21:15:34 +0000 (+0000) Subject: - Marco Maggi reported that compilation failed when configured --with-gssapi X-Git-Tag: curl-7_20_0~384 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=40c2c3270db9c33e22d219148c660f63c3ddf3ca;p=thirdparty%2Fcurl.git - 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. --- diff --git a/CHANGES b/CHANGES index 20ed3f2345..cbe5711314 100644 --- a/CHANGES +++ b/CHANGES @@ -6,6 +6,11 @@ Changelog +Yang Tse (11 Nov 2009) +- 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. + Daniel Stenberg (11 Nov 2009) - Constantine Sapuntzakis posted bug #2891595 (http://curl.haxx.se/bug/view.cgi?id=2891595) which identified how an entry diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 89549d72e6..635ba0b69c 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -17,6 +17,7 @@ This release includes the following bugfixes: o portability enhancement for OS's without orthogonal directory tree structure o progress meter/callback during FTP connection o DNS cache timeout while transfer in progress + o compilation when configured --with-gssapi having GNU GSS installed This release includes the following known bugs: diff --git a/lib/krb5.c b/lib/krb5.c index e763912281..36afc3c46d 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"