From b3c1a6c1c57ae99c8338ea651a1e6cdc677b5e39 Mon Sep 17 00:00:00 2001 From: Stefan Schmidt Date: Tue, 19 Mar 2013 08:35:00 +0000 Subject: [PATCH] eina: Add execinfo.h to avoid implicit declarations. If we have backtrace support we should also add the header before using the backtrace and backtrace_symbols_fd functions. --- src/lib/eina/eina_cow.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/eina/eina_cow.c b/src/lib/eina/eina_cow.c index 932ec57ed8..f51fcf7597 100644 --- a/src/lib/eina/eina_cow.c +++ b/src/lib/eina/eina_cow.c @@ -35,6 +35,10 @@ # include #endif +#ifdef HAVE_BACKTRACE +# include +#endif + #ifdef EINA_COW_MAGIC_ON #define EINA_COW_MAGIC 0xDEADBEEF