X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9f11ef1761a86b1b1353e30f22430f08aed6181f..5e354afe3a3a6acf85db8987075cf6143778b0ae:/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 */