aboutsummaryrefslogtreecommitdiffstats
path: root/gssapi.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2012-08-15 23:41:03 +0200
committerMatthias Andree <matthias.andree@gmx.de>2012-08-15 23:41:03 +0200
commit91b6ab63f35f8f11544b401fced7859d963ad06c (patch)
tree90b7dba76e665983c226e3c987c1e46e368ed89a /gssapi.c
parent0f4692d4340712874b66f37228ce73c93ec75aac (diff)
downloadfetchmail-91b6ab63f35f8f11544b401fced7859d963ad06c.tar.gz
fetchmail-91b6ab63f35f8f11544b401fced7859d963ad06c.tar.bz2
fetchmail-91b6ab63f35f8f11544b401fced7859d963ad06c.zip
GSSAPI build fix.
The GSSAPI-related autoconf code now matches gssapi.c better, and uses a different check to look for GSS_C_NT_HOSTBASED_SERVICE. This fixes the GSSAPI-enabled build on NetBSD 6 Beta.
Diffstat (limited to 'gssapi.c')
-rw-r--r--gssapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gssapi.c b/gssapi.c
index 5a05ff8f..c2c7d94f 100644
--- a/gssapi.c
+++ b/gssapi.c
@@ -33,7 +33,7 @@
# ifdef HAVE_GSSAPI_GSSAPI_GENERIC_H
# include <gssapi/gssapi_generic.h>
# endif
-# ifndef HAVE_GSS_C_NT_HOSTBASED_SERVICE
+# if HAVE_DECL_GSS_C_NT_HOSTBASED_SERVICE + 0 == 0
# define GSS_C_NT_HOSTBASED_SERVICE gss_nt_service_name
# endif
# endif