From: Frederic Suter Date: Tue, 1 Mar 2016 14:30:26 +0000 (+0100) Subject: put back some includes X-Git-Tag: v3_13~594^2~2 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/2b1640b1ff96d9a64a02d0c9862cf81e32d73e2e put back some includes --- diff --git a/examples/simdag/dax/dax_test.c b/examples/simdag/dax/dax_test.c index b7b2a7b96e..4bd470c1fd 100644 --- a/examples/simdag/dax/dax_test.c +++ b/examples/simdag/dax/dax_test.c @@ -7,7 +7,7 @@ * under the terms of the license (GNU LGPL) which comes with this package. */ #include "simgrid/simdag.h" -#include "xbt/log.h" +#include #include XBT_LOG_NEW_DEFAULT_CATEGORY(test, "Logging specific to this SimDag example"); diff --git a/examples/simdag/dot/dot_test.c b/examples/simdag/dot/dot_test.c index 1cad6219ea..a2006ba092 100644 --- a/examples/simdag/dot/dot_test.c +++ b/examples/simdag/dot/dot_test.c @@ -8,6 +8,7 @@ #include "simgrid/simdag.h" #include "xbt/log.h" +#include #include #include diff --git a/examples/simdag/dot/dot_test2.c b/examples/simdag/dot/dot_test2.c index dbbc218816..a9b9c68bb5 100644 --- a/examples/simdag/dot/dot_test2.c +++ b/examples/simdag/dot/dot_test2.c @@ -7,7 +7,7 @@ * under the terms of the license (GNU LGPL) which comes with this package. */ #include "simgrid/simdag.h" -#include "xbt/log.h" +#include XBT_LOG_NEW_DEFAULT_CATEGORY(test, "Logging specific to this SimDag example"); diff --git a/examples/simdag/dot/simulate_dot.c b/examples/simdag/dot/simulate_dot.c index d3827c9327..22cc2429ed 100644 --- a/examples/simdag/dot/simulate_dot.c +++ b/examples/simdag/dot/simulate_dot.c @@ -8,7 +8,6 @@ #include #include "simgrid/simdag.h" -#include "xbt/log.h" #include #include diff --git a/examples/simdag/goal/goal_test.c b/examples/simdag/goal/goal_test.c index 23d774c50c..368f551f5b 100644 --- a/examples/simdag/goal/goal_test.c +++ b/examples/simdag/goal/goal_test.c @@ -11,8 +11,8 @@ /* 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 #include "simgrid/simdag.h" -#include "xbt/log.h" #include "xbt/xbt_os_time.h" XBT_LOG_NEW_DEFAULT_CATEGORY(goal, "The GOAL loader into SimDag"); diff --git a/include/simgrid/simdag.h b/include/simgrid/simdag.h index d9df84c51c..2546414690 100644 --- a/include/simgrid/simdag.h +++ b/include/simgrid/simdag.h @@ -10,7 +10,10 @@ #include "xbt/misc.h" #include "xbt/dynar.h" #include "xbt/dict.h" +#include "xbt/asserts.h" +#include "xbt/log.h" #include "simgrid/link.h" +#include "simgrid/host.h" SG_BEGIN_DECL() diff --git a/src/simdag/sd_dotloader.cpp b/src/simdag/sd_dotloader.cpp index 9547948ece..d33cb25bbe 100644 --- a/src/simdag/sd_dotloader.cpp +++ b/src/simdag/sd_dotloader.cpp @@ -6,6 +6,7 @@ #include "src/simdag/simdag_private.h" #include "simgrid/simdag.h" +#include "xbt/file.h" #include XBT_LOG_NEW_DEFAULT_SUBCATEGORY(sd_dotparse, sd, "Parsing DOT files");