From: velho Date: Mon, 9 Jun 2008 11:26:34 +0000 (+0000) Subject: SDP compiling now, added header portable.h to header file and sdp. X-Git-Tag: v3.3~397 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/ea0524ecb6a6250bcf1fc58563e1b0c2078fcbee SDP compiling now, added header portable.h to header file and sdp. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5578 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/include/surf/maxmin.h b/src/include/surf/maxmin.h index 2677743fbb..7384349d53 100644 --- a/src/include/surf/maxmin.h +++ b/src/include/surf/maxmin.h @@ -8,6 +8,7 @@ #ifndef _SURF_MAXMIN_H #define _SURF_MAXMIN_H +#include "portable.h" #include "xbt/misc.h" #define MAXMIN_PRECISION 0.00001 diff --git a/src/surf/sdp.c b/src/surf/sdp.c index 3b39f85ec4..1fd92f8d84 100644 --- a/src/surf/sdp.c +++ b/src/surf/sdp.c @@ -10,6 +10,7 @@ #include "xbt/sysdep.h" #include "maxmin_private.h" +#include #include #ifndef MATH #include @@ -117,7 +118,7 @@ XBT_LOG_NEW_SUBCATEGORY(surf_sdp_out, surf, #define get_y(a,b) (pow(2,a)+b-1) -void sdp_solve(lmm_system_t sys) +void sdp_solve (lmm_system_t sys) { /*