[dovecot-cvs] dovecot/src/auth mech-gssapi.c,1.9,1.10

tss at dovecot.org tss at dovecot.org
Sun Dec 3 14:12:28 UTC 2006


Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv32012/src/auth

Modified Files:
	mech-gssapi.c 
Log Message:
Some systems have gssapi elsewhere than gssapi/gssapi.h. So check also plain
gssapi.h. Based on patch by Chris Wakelin



Index: mech-gssapi.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/mech-gssapi.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- mech-gssapi.c	8 Nov 2006 20:22:08 -0000	1.9
+++ mech-gssapi.c	3 Dec 2006 14:12:24 -0000	1.10
@@ -24,7 +24,11 @@
 
 #ifdef HAVE_GSSAPI
 
-#include <gssapi/gssapi.h>
+#ifdef HAVE_GSSAPI_GSSAPI_H
+#  include <gssapi/gssapi.h>
+#elif defined (HAVE_GSSAPI_H)
+#  include <gssapi.h>
+#endif
 
 /* Non-zero flags defined in RFC 2222 */
 enum sasl_gssapi_qop {



More information about the dovecot-cvs mailing list