summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index ddc20e492c..1adda85354 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -1401,9 +1401,11 @@ void smb_panic(const char *why)
char *cmd;
int result;
size_t i;
+#ifdef HAVE_BACKTRACE_SYMBOLS
void *backtrace_stack[BACKTRACE_STACK_SIZE];
size_t backtrace_size;
char **backtrace_strings;
+#endif
#ifdef DEVELOPER
{