Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
basename raises a warning without including libgen.h
authorsuter <frederic.suter@cc.in2p3.fr>
Sun, 24 Jun 2012 16:14:15 +0000 (18:14 +0200)
committersuter <frederic.suter@cc.in2p3.fr>
Sun, 24 Jun 2012 16:15:40 +0000 (18:15 +0200)
examples/simdag/dot/dot_test.c
examples/simdag/dot/simulate_dot.c

index a8bcdb1..def253b 100644 (file)
@@ -12,6 +12,7 @@
 #include "xbt/log.h"
 #include "xbt/ex.h"
 #include <string.h>
+#include <libgen.h>
 
 XBT_LOG_NEW_DEFAULT_CATEGORY(test,
                              "Logging specific to this SimDag example");
index 75eda05..f87bd7f 100644 (file)
@@ -12,6 +12,7 @@
 #include "xbt/log.h"
 #include "xbt/ex.h"
 #include <string.h>
+#include <libgen.h>
 
 XBT_LOG_NEW_DEFAULT_CATEGORY(test,
                              "Logging specific to this SimDag example");