summaryrefslogtreecommitdiff
path: root/source3/include/includes.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-01-19 22:27:32 +0000
committerJeremy Allison <jra@samba.org>2003-01-19 22:27:32 +0000
commit812e093f026a3575f00633c8d4d63b8bdb8a1bcb (patch)
tree9dfb2220e6f57759da6a66340e25e772274cf0d9 /source3/include/includes.h
parentdd99a6a81619c46ea512076f0ca860748d2fae4a (diff)
downloadsamba-812e093f026a3575f00633c8d4d63b8bdb8a1bcb.tar.gz
samba-812e093f026a3575f00633c8d4d63b8bdb8a1bcb.tar.bz2
samba-812e093f026a3575f00633c8d4d63b8bdb8a1bcb.zip
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)
Diffstat (limited to 'source3/include/includes.h')
-rw-r--r--source3/include/includes.h12
1 files changed, 12 insertions, 0 deletions
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 */