Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
only take the public part of MC within the mallocators
authorMartin Quinson <martin.quinson@loria.fr>
Sat, 1 Jul 2017 08:27:46 +0000 (10:27 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Sat, 1 Jul 2017 08:28:17 +0000 (10:28 +0200)
I'm trying to not load simix.h from C code anymore, to ease the work
on ActivityImpl.

src/xbt/mallocator.c

index 408e115..fa9f582 100644 (file)
@@ -6,12 +6,12 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
-#include "src/internal_config.h"
 #include "xbt/mallocator.h"
+#include "mallocator_private.h"
+#include "simgrid/modelchecker.h" /* kill mallocators when model-checking is enabled */
+#include "src/internal_config.h"
 #include "xbt/asserts.h"
 #include "xbt/sysdep.h"
-#include "mc/mc.h" /* kill mallocators when model-checking is enabled */
-#include "mallocator_private.h"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(xbt_mallocator, xbt, "Mallocators");