summaryrefslogtreecommitdiff
path: root/source4/heimdal/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-03-01 02:56:10 +0100
committerVolker Lendecke <vl@samba.org>2012-03-01 03:51:31 +0100
commitc17d03f82339141c2942f7bc271424864c01af1a (patch)
tree2593f5218d1186b8c80910442e4a6dfb4198edab /source4/heimdal/lib
parent1c2aacd6da923efbc0b87e720399417f008f82c2 (diff)
downloadsamba-c17d03f82339141c2942f7bc271424864c01af1a.tar.gz
samba-c17d03f82339141c2942f7bc271424864c01af1a.tar.bz2
samba-c17d03f82339141c2942f7bc271424864c01af1a.zip
heimdal: Fix the build on FreeBSD
We don't have BACKTRACE_SYMBOLS by default
Diffstat (limited to 'source4/heimdal/lib')
-rw-r--r--source4/heimdal/lib/krb5/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/heimdal/lib/krb5/misc.c b/source4/heimdal/lib/krb5/misc.c
index ac6720c4e9..39a3282354 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]));