From: pini Date: Mon, 27 Sep 2010 16:01:03 +0000 (+0000) Subject: Compilation broken. X-Git-Tag: v3_5~606 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/d2463b9dd8b903446a52afa4b6928b0e4b036504?hp=ed1c81fc9bce2480dd944490032c7336ba68a19a Compilation broken. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8218 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/include/surf/maxmin.h b/src/include/surf/maxmin.h index 0de4266d61..b81cefc5ba 100644 --- a/src/include/surf/maxmin.h +++ b/src/include/surf/maxmin.h @@ -12,7 +12,7 @@ #include "xbt/misc.h" #include "surf/datatypes.h" -#define MAXMIN_PRECISION 0.00001 +#define MAXMIN_PRECISION 1e-9 static XBT_INLINE void double_update(double *variable, double value) { *variable -= value; diff --git a/src/surf/surfxml_parse.c b/src/surf/surfxml_parse.c index 8967099e89..693a49b156 100644 --- a/src/surf/surfxml_parse.c +++ b/src/surf/surfxml_parse.c @@ -10,6 +10,7 @@ #include "xbt/dict.h" #include "surf/surfxml_parse_private.h" #include "surf/surf_private.h" +#include "surf/surf.h" XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_parse, surf, "Logging specific to the SURF parsing module");