From: Christophe ThiƩry Date: Tue, 26 Apr 2011 15:49:47 +0000 (+0200) Subject: Make sure strdup is declared X-Git-Tag: v3_6_rc3~92 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/6e5457a22be7df9fa12847d3f18c43c4619bc3e2?ds=sidebyside Make sure strdup is declared --- diff --git a/src/simix/smx_user.c b/src/simix/smx_user.c index 615d7aa554..fb7560746e 100644 --- a/src/simix/smx_user.c +++ b/src/simix/smx_user.c @@ -4,9 +4,10 @@ /* 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. */ - -#define _ISOC99_SOURCE /* isfinite() */ -#include /* isfinite() */ +#define _SVID_SOURCE /* strdup */ +#define _ISO_C99_SOURCE /* isfinite() */ +#define _ISOC99_SOURCE /* isfinite() */ +#include /* isfinite() */ #include "private.h" #include "mc/mc.h"