Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
include sysdep.h for xbt_new0
authorcherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 11 Jan 2008 13:10:50 +0000 (13:10 +0000)
committercherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 11 Jan 2008 13:10:50 +0000 (13:10 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5198 48e7efb5-ca39-0410-a469-dd3cf9ba447f

examples/simdag/sd_test2.c
testsuite/xbt/heap_bench.c

index e625b58..9f77f01 100644 (file)
@@ -5,6 +5,8 @@
 #include "simdag/simdag.h"
 #include "xbt/log.h"
 
 #include "simdag/simdag.h"
 #include "xbt/log.h"
 
+#include "xbt/sysdep.h" /* calloc, printf */
+
 XBT_LOG_NEW_DEFAULT_CATEGORY(sd_test,
                             "Logging specific to this SimDag example");
 
 XBT_LOG_NEW_DEFAULT_CATEGORY(sd_test,
                             "Logging specific to this SimDag example");
 
index cfeff7d..ccab791 100644 (file)
@@ -18,6 +18,8 @@
 #include "xbt/heap.h"
 #include "gras/virtu.h"                /* time manipulation in bench */
 
 #include "xbt/heap.h"
 #include "gras/virtu.h"                /* time manipulation in bench */
 
+#include "xbt/sysdep.h" /* calloc, printf */
+
 #define MAX_TEST 1000000
 
 #ifdef __BORLANDC__
 #define MAX_TEST 1000000
 
 #ifdef __BORLANDC__