forked from enlightenment/efl
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.
This commit is contained in:
parent
9e745d4a2c
commit
b3c1a6c1c5
|
@ -35,6 +35,10 @@
|
||||||
# include <memcheck.h>
|
# include <memcheck.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_BACKTRACE
|
||||||
|
# include <execinfo.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef EINA_COW_MAGIC_ON
|
#ifdef EINA_COW_MAGIC_ON
|
||||||
#define EINA_COW_MAGIC 0xDEADBEEF
|
#define EINA_COW_MAGIC 0xDEADBEEF
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue