diff options
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 |