aboutsummaryrefslogtreecommitdiffstats
path: root/kerberos.h
diff options
context:
space:
mode:
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