aboutsummaryrefslogtreecommitdiffstats
path: root/gssapi.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2004-01-13 07:59:24 +0000
committerEric S. Raymond <esr@thyrsus.com>2004-01-13 07:59:24 +0000
commitffec0cb82f160994b2ceeeca5d4c2d82f2f0d098 (patch)
treedf894c4ab2db18c9382c34ccf17ca374ac83736c /gssapi.c
parent804b8ab96632e19c713a900ede3f87d7f71fbc11 (diff)
downloadfetchmail-ffec0cb82f160994b2ceeeca5d4c2d82f2f0d098.tar.gz
fetchmail-ffec0cb82f160994b2ceeeca5d4c2d82f2f0d098.tar.bz2
fetchmail-ffec0cb82f160994b2ceeeca5d4c2d82f2f0d098.zip
Applied GSS library support patch.
svn path=/trunk/; revision=3877
Diffstat (limited to 'gssapi.c')
-rw-r--r--gssapi.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gssapi.c b/gssapi.c
index 3b70a934..3525be85 100644
--- a/gssapi.c
+++ b/gssapi.c
@@ -21,6 +21,9 @@
#include <netinet/in.h> /* for htonl/ntohl */
#ifdef GSSAPI
+# ifdef HAVE_GSS_H
+# include <gss.h>
+# else
# ifdef HAVE_GSSAPI_H
# include <gssapi.h>
# endif
@@ -33,6 +36,7 @@
# ifndef HAVE_GSS_C_NT_HOSTBASED_SERVICE
# define GSS_C_NT_HOSTBASED_SERVICE gss_nt_service_name
# endif
+# endif
#define GSSAUTH_P_NONE 1
#define GSSAUTH_P_INTEGRITY 2