From: mquinson Date: Tue, 4 Jul 2006 13:34:17 +0000 (+0000) Subject: Signal-related changes X-Git-Tag: v3.3~2889 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/46cb4b4accc07e69d02cecac43b3f829a6978fb0 Signal-related changes git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2469 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/portable.h b/src/portable.h index 2afe77c683..b227f89de3 100644 --- a/src/portable.h +++ b/src/portable.h @@ -134,6 +134,13 @@ const char *gras_wsa_err2string(int errcode); # include "xbt/context_win32.h" /* Manual reimplementation for prehistoric platforms */ #endif +/**** + **** Signals + ****/ +#ifdef HAVE_SIGNAL_H +# include +#endif + /**** **** string handling (parts from http://www.ijs.si/software/snprintf/) ****/ @@ -178,9 +185,9 @@ extern int vasnprintf(char **ptr, size_t str_m, const char *fmt, va_list ap); # include #endif -/* - * Some debugging functions. Can't we find a better place for this?? - */ +/**** + **** Some debugging functions. Can't we find a better place for this?? + ****/ void hexa_print(const char*name, unsigned char *data, int size); const char *hexa_str(unsigned char *data, int size);