From 83dfe7b2231ecde3a8141c1737570176dfd5c30c Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 1 Dec 2021 12:15:48 -0800 Subject: libcamera: backtrace: Include cxxabi.h without HAVE_DW Since it's used in code without HAVE_DW, it fails to compile on such systems e.g. linux/musl Fixes src/libcamera/base/backtrace.cpp:235:16: error: use of undeclared identifier 'abi' char *name = abi::__cxa_demangle(symbol, nullptr, nullptr, nullptr); ^ 1 error generated. Signed-off-by: Khem Raj Reviewed-by: Laurent Pinchart Reviewed-by: Kieran Bingham Signed-off-by: Laurent Pinchart --- src/libcamera/base/backtrace.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libcamera') diff --git a/src/libcamera/base/backtrace.cpp b/src/libcamera/base/backtrace.cpp index d93e5518..483492c3 100644 --- a/src/libcamera/base/backtrace.cpp +++ b/src/libcamera/base/backtrace.cpp @@ -13,7 +13,6 @@ #endif #ifdef HAVE_DW -#include #include #include #endif @@ -27,6 +26,7 @@ #include #endif +#include #include #include -- cgit v1.2.1