diff --git a/lib/libspl/backtrace.c b/lib/libspl/backtrace.c index dd8cb025f4..d26d742106 100644 --- a/lib/libspl/backtrace.c +++ b/lib/libspl/backtrace.c @@ -110,6 +110,8 @@ libspl_backtrace(int fd) backtrace_symbols_fd(btptrs, nptrs, fd); } #else +#include + void libspl_backtrace(int fd __maybe_unused) {