eina: Add execinfo.h to avoid implicit declarations.
authorStefan Schmidt <s.schmidt@samsung.com>
Tue, 19 Mar 2013 08:35:00 +0000 (08:35 +0000)
committerStefan Schmidt <s.schmidt@samsung.com>
Tue, 19 Mar 2013 08:38:11 +0000 (08:38 +0000)
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

index 932ec57..f51fcf7 100644 (file)
 # include <memcheck.h>
 #endif
 
+#ifdef HAVE_BACKTRACE
+# include <execinfo.h>
+#endif
+
 #ifdef EINA_COW_MAGIC_ON
 #define EINA_COW_MAGIC 0xDEADBEEF