X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fd769219531a772284d75320187a0ef9f8118afd..70237dd480d59d0d5a686a28167267eb8e2ee8a4:/src/simix/smx_private.h diff --git a/src/simix/smx_private.h b/src/simix/smx_private.h index 938b5d4614..caca310451 100644 --- a/src/simix/smx_private.h +++ b/src/simix/smx_private.h @@ -7,6 +7,7 @@ #ifndef _SIMIX_PRIVATE_H #define _SIMIX_PRIVATE_H +#include "src/internal_config.h" #include "simgrid/simix.h" #include "surf/surf.h" #include "xbt/base.h" @@ -26,6 +27,8 @@ #include "popping_private.h" #include "smx_synchro_private.h" +#include + #ifdef __cplusplus #include @@ -221,7 +224,7 @@ XBT_PUBLIC_DATA(char sigsegv_stack[SIGSTKSZ]); /* We are using the bottom of the stack to save some information, like the * valgrind_stack_id. Define smx_context_usable_stack_size to give the remaining * size for the stack. */ -#ifdef HAVE_VALGRIND_H +#if HAVE_VALGRIND_H # define smx_context_usable_stack_size \ (smx_context_stack_size - sizeof(unsigned int)) /* for valgrind_stack_id */ #else