On Debian/Lenny, #include "simgrid_config.h" needs to be the first include
for getline to be found.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9677
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
/* 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 "simgrid_config.h" //For getline, keep that include first
+
#include "msg/private.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");
/* 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 "simgrid_config.h" //For getline, keep that include first
+
#include "gras_config.h"
#include <errno.h>
#include "xbt/sysdep.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");
#pragma hdrstop
#endif
+#include "simgrid_config.h" //For getline, keep that include first
+
#include "tesh.h"
#include "xbt.h"
-#include "simgrid_config.h" //For getline
XBT_LOG_NEW_DEFAULT_CATEGORY(tesh, "TEst SHell utility");