From c17d03f82339141c2942f7bc271424864c01af1a Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 1 Mar 2012 02:56:10 +0100 Subject: [PATCH] heimdal: Fix the build on FreeBSD We don't have BACKTRACE_SYMBOLS by default --- source4/heimdal/lib/krb5/misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/heimdal/lib/krb5/misc.c b/source4/heimdal/lib/krb5/misc.c index ac6720c4e99..39a3282354c 100644 --- a/source4/heimdal/lib/krb5/misc.c +++ b/source4/heimdal/lib/krb5/misc.c @@ -96,7 +96,7 @@ krb5_enomem(krb5_context context) void _krb5_debug_backtrace(krb5_context context) { -#if defined(HAVE_BACKTRACE) && !defined(HEIMDAL_SMALLER) +#if defined(HAVE_BACKTRACE) && defined(HAVE_BACKTRACE_SYMBOLS) && !defined(HEIMDAL_SMALLER) void *stack[128]; char **strs = NULL; int i, frames = backtrace(stack, sizeof(stack) / sizeof(stack[0])); -- 2.11.4.GIT