X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/347996b4a10c4e8579080692afa60e0afb88b60a..c0b8222b84f1084085608ef4d3da724f7f3710e8:/src/include/mc/datatypes.h diff --git a/src/include/mc/datatypes.h b/src/include/mc/datatypes.h index 0b45c09f97..403a264a9a 100644 --- a/src/include/mc/datatypes.h +++ b/src/include/mc/datatypes.h @@ -7,34 +7,27 @@ #ifndef MC_DATATYPE_H #define MC_DATATYPE_H -#include +#include +#include -#include "xbt/misc.h" -#include "xbt/swag.h" -#include "xbt/fifo.h" - -#if HAVE_MC -#include -#include -#endif +#if HAVE_UCONTEXT_H +#include /* context relative declarations */ +#endif SG_BEGIN_DECL() -/******************************* Transitions **********************************/ - typedef struct s_mc_transition *mc_transition_t; -/*********** Structures for snapshot comparison **************************/ - typedef struct s_stack_region{ void *address; +#if HAVE_UCONTEXT_H ucontext_t* context; +#endif size_t size; int block; int process_index; }s_stack_region_t, *stack_region_t; -/************ DWARF structures *************/ - SG_END_DECL() + #endif /* _MC_MC_H */