A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make sure strdup is declared
[simgrid.git]
/
src
/
simix
/
smx_user.c
diff --git
a/src/simix/smx_user.c
b/src/simix/smx_user.c
index
615d7aa
..
fb75607
100644
(file)
--- 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. */
/* 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 <math.h> /* isfinite() */
+#define _SVID_SOURCE /* strdup */
+#define _ISO_C99_SOURCE /* isfinite() */
+#define _ISOC99_SOURCE /* isfinite() */
+#include <math.h> /* isfinite() */
#include "private.h"
#include "mc/mc.h"
#include "private.h"
#include "mc/mc.h"