From 5e354afe3a3a6acf85db8987075cf6143778b0ae Mon Sep 17 00:00:00 2001 From: mquinson Date: Sun, 7 Aug 2005 23:07:56 +0000 Subject: [PATCH] load execinfo.h when available git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1633 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/portable.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/portable.h b/src/portable.h index 9a6acb37f6..8db663048e 100644 --- a/src/portable.h +++ b/src/portable.h @@ -170,4 +170,11 @@ extern int vasnprintf(char **ptr, size_t str_m, const char *fmt, va_list ap); # define PRINTF_STR(a) (a)?:"(null)" #endif +/* + * What we need to extract the backtrace in exception handling code + */ +#ifdef HAVE_EXECINFO_H +# include +#endif + #endif /* GRAS_PORTABLE_H */ -- 2.20.1