From 812e093f026a3575f00633c8d4d63b8bdb8a1bcb Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Sun, 19 Jan 2003 22:27:32 +0000 Subject: Merge in more of the SuSE patches for Heimdal. These changes show how to add a function without an explicit #ifdef HEIMDAL which I'm trying to avoid. Jeremy. (This used to be commit 92ecd0bf0fe2cc4f6c86ca48e6e458e726470a50) --- source3/include/includes.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'source3/include/includes.h') diff --git a/source3/include/includes.h b/source3/include/includes.h index a02713e36f..618719d630 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -1204,5 +1204,17 @@ time_t timegm(struct tm *tm); #define VXFS_QUOTA #endif +#if defined(HAVE_KRB5) + +#ifndef KRB5_SET_REAL_TIME +krb5_error_code krb5_set_real_time(krb5_context context, int32_t seconds, int32_t microseconds); +#endif + +#ifndef HAVE_KRB5_SET_DEFAULT_TGS_KTYPES +krb5_error_code krb5_set_default_tgs_ktypes(krb5_context ctx, const krb5_enctype *enc); +#endif + +#endif /* HAVE_KRB5 */ + #endif /* _INCLUDES_H */ -- cgit