Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
We need include simgrid_config.h for function getline.
authornavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 18 Feb 2011 15:02:53 +0000 (15:02 +0000)
committernavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 18 Feb 2011 15:02:53 +0000 (15:02 +0000)
In system Debian : implicit declaration of function getline

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9663 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/msg/msg_actions.c
src/xbt/xbt_replay_trace_reader.c
tools/tesh/tesh.c

index 3ef50ad..933cf3e 100644 (file)
@@ -8,6 +8,7 @@
 #include "xbt/str.h"
 #include "xbt/dynar.h"
 #include "xbt/replay_trace_reader.h"
 #include "xbt/str.h"
 #include "xbt/dynar.h"
 #include "xbt/replay_trace_reader.h"
+#include "simgrid_config.h" //For getline
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(msg_action, msg,
                                 "MSG actions for trace driven simulation");
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(msg_action, msg,
                                 "MSG actions for trace driven simulation");
index 45b1a69..d3b96df 100644 (file)
@@ -9,6 +9,7 @@
 #include "xbt/log.h"
 #include "xbt/str.h"
 #include "xbt/replay_trace_reader.h"
 #include "xbt/log.h"
 #include "xbt/str.h"
 #include "xbt/replay_trace_reader.h"
+#include "simgrid_config.h" //For getline
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(replay,xbt,"Replay trace reader");
 
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(replay,xbt,"Replay trace reader");
 
index 7d5659e..b8241a4 100644 (file)
@@ -13,6 +13,7 @@
 
 #include "tesh.h"
 #include "xbt.h"
 
 #include "tesh.h"
 #include "xbt.h"
+#include "simgrid_config.h" //For getline
 
 XBT_LOG_NEW_DEFAULT_CATEGORY(tesh, "TEst SHell utility");
 
 
 XBT_LOG_NEW_DEFAULT_CATEGORY(tesh, "TEst SHell utility");