Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : really fix mc dependancies with MC ON or OFF
authorMarion Guthmuller <marion.guthmuller@inria.fr>
Thu, 23 Apr 2015 11:44:17 +0000 (13:44 +0200)
committerMarion Guthmuller <marion.guthmuller@inria.fr>
Thu, 23 Apr 2015 11:44:17 +0000 (13:44 +0200)
src/include/mc/datatypes.h
src/mc/mc_private.h

index d38acbd..be00ce8 100644 (file)
 #include "xbt/swag.h"
 #include "xbt/fifo.h"
 
 #include "xbt/swag.h"
 #include "xbt/fifo.h"
 
+#if HAVE_MC
+#include <libunwind.h>
+#include <dwarf.h>
+#endif 
+
 SG_BEGIN_DECL()
 
 /******************************* Transitions **********************************/
 SG_BEGIN_DECL()
 
 /******************************* Transitions **********************************/
index 4d2e916..c19aa1f 100644 (file)
@@ -23,8 +23,6 @@
 #include "mc/datatypes.h"
 #include "xbt/fifo.h"
 #include "xbt/config.h"
 #include "mc/datatypes.h"
 #include "xbt/fifo.h"
 #include "xbt/config.h"
-#include <libunwind.h>
-#include <dwarf.h>
 
 #include "xbt/function_types.h"
 #include "xbt/mmalloc.h"
 
 #include "xbt/function_types.h"
 #include "xbt/mmalloc.h"