summaryrefslogtreecommitdiff
path: root/security/cyrus-sasl/patches/patch-ah
blob: 1501bab6c9b81b1d5c316335bf95c446db0f711d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ah,v 1.2 2002/01/13 14:23:38 skrll Exp $

--- plugins/gssapi.c.orig	Sat Mar 10 05:56:46 2001
+++ plugins/gssapi.c
@@ -49,6 +49,11 @@
 #else
 #include <gssapi/gssapi.h>
 #endif
+  
+/* Heimdal has this, but MIT Kerberos doesn't */
+#ifndef GSS_C_NO_NAME
+#define GSS_C_NO_NAME  ((gss_name_t) 0)
+#endif
 
 #ifdef WIN32
 #  include <winsock.h>