summaryrefslogtreecommitdiff
path: root/mail/imap-uw/patches/patch-af
blob: 198b4cc5046c03864cfafd8d1465cc4078363e8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-af,v 1.6 2006/07/26 20:00:27 jlam Exp $

--- src/osdep/unix/kerb_mit.c.orig	2003-10-17 12:39:42.000000000 -0400
+++ src/osdep/unix/kerb_mit.c
@@ -18,9 +18,15 @@
  * CPYRIGHT, included with this Distribution.
  */
 
+#ifdef HEIMDAL_KRB5
+#include <gssapi/gssapi.h>
+#include <krb5/krb5.h>
+#define gss_nt_service_name    GSS_C_NT_HOSTBASED_SERVICE
+#else
 #define PROTOTYPE(x) x
 #include <gssapi/gssapi_generic.h>
 #include <gssapi/gssapi_krb5.h>
+#endif
 
 
 long kerberos_server_valid (void);