diff src/auth/mech-gssapi.c @ 4862:bddfbc560857 HEAD

Some systems have gssapi elsewhere than gssapi/gssapi.h. So check also plain gssapi.h. Based on patch by Chris Wakelin
author Timo Sirainen <tss@iki.fi>
date Sun, 03 Dec 2006 16:12:22 +0200
parents 2c1cc5bbc260
children 228eacfb2647
line wrap: on
line diff
--- a/src/auth/mech-gssapi.c	Sun Dec 03 15:50:44 2006 +0200
+++ b/src/auth/mech-gssapi.c	Sun Dec 03 16:12:22 2006 +0200
@@ -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 {