summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-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 a392530786..a2d8d42cbe 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
{