X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/61b165735072e666dc5cb922b0a21fd7e6576706..35471ecdf533b2701ca99d3921c42944531883ce:/src/portable.h 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 */