From 32ac631357d9b32398373506d63afa885420e73a Mon Sep 17 00:00:00 2001 From: dtucker Date: Mon, 25 Feb 2013 00:24:44 +0000 Subject: - (dtucker) [configure.ac ssh-gss.h] bz#2073: additional #includes needed to use Solaris native GSS libs. Patch from Pierre Ossman. --- ssh-gss.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'ssh-gss.h') diff --git a/ssh-gss.h b/ssh-gss.h index c29a1b7e..077e13ce 100644 --- a/ssh-gss.h +++ b/ssh-gss.h @@ -42,12 +42,13 @@ # include # endif -/* MIT Kerberos doesn't seem to define GSS_NT_HOSTBASED_SERVICE */ +/* Old MIT Kerberos doesn't seem to define GSS_NT_HOSTBASED_SERVICE */ -#ifndef GSS_C_NT_HOSTBASED_SERVICE -#define GSS_C_NT_HOSTBASED_SERVICE gss_nt_service_name -#endif /* GSS_C_NT_... */ -#endif /* !HEIMDAL */ +# if !HAVE_DECL_GSS_C_NT_HOSTBASED_SERVICE +# define GSS_C_NT_HOSTBASED_SERVICE gss_nt_service_name +# endif /* !HAVE_DECL_GSS_C_NT_... */ + +# endif /* !HEIMDAL */ #endif /* KRB5 */ /* draft-ietf-secsh-gsskeyex-06 */ -- cgit v1.2.1