aboutsummaryrefslogtreecommitdiffstats
path: root/kerberos.h
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2005-07-03 18:23:16 +0000
committerMatthias Andree <matthias.andree@gmx.de>2005-07-03 18:23:16 +0000
commit1d3505994cbf22da08b342001a3411279fc32249 (patch)
tree107eba6f411ad22c369324ad36ec2c91d4b41873 /kerberos.h
parent2167dd645e64107eee8af5072a02953f9eb0ffd5 (diff)
downloadfetchmail-1d3505994cbf22da08b342001a3411279fc32249.tar.gz
fetchmail-1d3505994cbf22da08b342001a3411279fc32249.tar.bz2
fetchmail-1d3505994cbf22da08b342001a3411279fc32249.zip
Nalin Dahyabhai's patch to use the krb5-config script, if present.
Sent by Miloslav Trmac. svn path=/trunk/; revision=4072
Diffstat (limited to 'kerberos.h')
-rw-r--r--kerberos.h21
1 files changed, 13 insertions, 8 deletions
diff --git a/kerberos.h b/kerberos.h
index 32cb93e9..713a505b 100644
--- a/kerberos.h
+++ b/kerberos.h
@@ -15,14 +15,19 @@
#endif
#ifdef KERBEROS_V4
-# if defined (__bsdi__)
-# include <des.h> /* order of includes matters */
-# define krb_get_err_text(e) (krb_err_txt[e])
-# endif
-# include <krb.h>
-# if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__linux__)
-# define krb_get_err_text(e) (krb_err_txt[e])
-# include <des.h>
+# ifdef KERBEROS_V4_V5
+# include <kerberosIV/krb.h>
+# include <kerberosIV/des.h>
+# else
+# if defined (__bsdi__)
+# include <des.h> /* order of includes matters */
+# define krb_get_err_text(e) (krb_err_txt[e])
+# endif
+# include <krb.h>
+# if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__linux__)
+# define krb_get_err_text(e) (krb_err_txt[e])
+# include <des.h>
+# endif
# endif
#endif