diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2005-07-03 18:23:16 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2005-07-03 18:23:16 +0000 |
commit | 1d3505994cbf22da08b342001a3411279fc32249 (patch) | |
tree | 107eba6f411ad22c369324ad36ec2c91d4b41873 /kerberos.h | |
parent | 2167dd645e64107eee8af5072a02953f9eb0ffd5 (diff) | |
download | fetchmail-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.h | 21 |
1 files changed, 13 insertions, 8 deletions
@@ -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 |