From: suter Date: Sun, 24 Jun 2012 16:14:15 +0000 (+0200) Subject: basename raises a warning without including libgen.h X-Git-Tag: v3_8~476 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/17f1cb36dbcbd5931a61447921be1484680d189b?ds=inline basename raises a warning without including libgen.h --- diff --git a/examples/simdag/dot/dot_test.c b/examples/simdag/dot/dot_test.c index a8bcdb19e5..def253b4fd 100644 --- a/examples/simdag/dot/dot_test.c +++ b/examples/simdag/dot/dot_test.c @@ -12,6 +12,7 @@ #include "xbt/log.h" #include "xbt/ex.h" #include +#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 75eda052b4..f87bd7f7a3 100644 --- a/examples/simdag/dot/simulate_dot.c +++ b/examples/simdag/dot/simulate_dot.c @@ -12,6 +12,7 @@ #include "xbt/log.h" #include "xbt/ex.h" #include +#include XBT_LOG_NEW_DEFAULT_CATEGORY(test, "Logging specific to this SimDag example");