From 1d3505994cbf22da08b342001a3411279fc32249 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sun, 3 Jul 2005 18:23:16 +0000 Subject: Nalin Dahyabhai's patch to use the krb5-config script, if present. Sent by Miloslav Trmac. svn path=/trunk/; revision=4072 --- kerberos.h | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) (limited to 'kerberos.h') 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 /* order of includes matters */ -# define krb_get_err_text(e) (krb_err_txt[e]) -# endif -# include -# if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__linux__) -# define krb_get_err_text(e) (krb_err_txt[e]) -# include +# ifdef KERBEROS_V4_V5 +# include +# include +# else +# if defined (__bsdi__) +# include /* order of includes matters */ +# define krb_get_err_text(e) (krb_err_txt[e]) +# endif +# include +# if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__linux__) +# define krb_get_err_text(e) (krb_err_txt[e]) +# include +# endif # endif #endif -- cgit v1.2.3