From d78b61e3efaea197a6e5b2b72bf2981a9ed69461 Mon Sep 17 00:00:00 2001 From: Rob Funk Date: Tue, 8 Jun 2004 03:59:01 +0000 Subject: Add files from ESR's dev directory that weren't under version control svn path=/trunk/; revision=3881 --- kerberos.h | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 kerberos.h (limited to 'kerberos.h') diff --git a/kerberos.h b/kerberos.h new file mode 100644 index 00000000..32cb93e9 --- /dev/null +++ b/kerberos.h @@ -0,0 +1,33 @@ +/* + * kerberos.h -- Headers for Kerberos support. + * + * For license terms, see the file COPYING in this directory. + */ + +#ifndef H_KERBEROS__ +#define H_KERBEROS__ +#include "config.h" +#if defined(KERBEROS_V4) || defined(KERBEROS_V5) + +#ifdef KERBEROS_V5 +#include +#include +#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 +# endif +#endif + +/* des.h might define _ for no good reason. */ +#undef _ + +#endif /* KERBEROS_V4 || KERBEROS_V5 */ +#endif /* H_KERBEROS__ */ -- cgit v1.2.3