2009/11/11, Marco Maggi wrote: > "Daniel Stenberg" wrote: > > On Mon, 9 Nov 2009, Marco Maggi wrote: > > > > > The code being as it is, it seems to me that just > > > removing the block: > > > > But lib/krb5.c also includes <gssapi/gssapi_krb5.h> which > > urldata.h doesn't (when HAVE_GSSMIT is defined). Won't > > that be needed? > > So more cleanup is needed?
Can you verify if attached patch works for you? -- -=[Yang]=-
Index: krb5.c =================================================================== RCS file: /cvsroot/curl/curl/lib/krb5.c,v retrieving revision 1.11 diff -u -r1.11 krb5.c --- krb5.c 2 May 2009 02:37:34 -0000 1.11 +++ krb5.c 11 Nov 2009 08:40:02 -0000 @@ -46,7 +46,10 @@ #include <netdb.h> #endif #include <string.h> -#ifdef HAVE_GSSMIT + +#ifdef HAVE_GSSGNU +#include <gss.h> +#elif defined HAVE_GSSMIT /* MIT style */ #include <gssapi/gssapi.h> #include <gssapi/gssapi_generic.h>
------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
