From 77832c9400fa2a22ccbf35c66db005d07b4de96a Mon Sep 17 00:00:00 2001
From: arowser <arowser@gmail.com>
Date: Mon, 26 Nov 2018 21:28:51 +0800
Subject: [PATCH] enable add_steal_notifiers only support backtrace library

---
 common/daemon.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/daemon.c b/common/daemon.c
index 6ed789a50..276bb4838 100644
--- a/common/daemon.c
+++ b/common/daemon.c
@@ -80,7 +80,7 @@ int daemon_poll(struct pollfd *fds, nfds_t nfds, int timeout)
 	return poll(fds, nfds, timeout);
 }
 
-#if DEVELOPER
+#if DEVELOPER && BACKTRACE_SUPPORTED
 static void steal_notify(tal_t *child, enum tal_notify_type n, tal_t *newparent)
 {
 	tal_t *p = newparent;