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
better load src/internal_config.h before testing on HAVE_UNISTD_H
[simgrid.git]
/
src
/
xbt
/
mmalloc
/
mm.c
diff --git
a/src/xbt/mmalloc/mm.c
b/src/xbt/mmalloc/mm.c
index
d395c8d
..
be48e42
100644
(file)
--- a/
src/xbt/mmalloc/mm.c
+++ b/
src/xbt/mmalloc/mm.c
@@
-12,9
+12,12
@@
/* Copyright 1996, 2000 Free Software Foundation */
/* Copyright 1996, 2000 Free Software Foundation */
+#define _GNU_SOURCE
+#include "src/internal_config.h"
#if HAVE_UNISTD_H
#include <unistd.h> /* Prototypes for lseek, sbrk (maybe) */
#endif
#if HAVE_UNISTD_H
#include <unistd.h> /* Prototypes for lseek, sbrk (maybe) */
#endif
+
#include "mfree.c"
#include "mmalloc.c"
#include "mrealloc.c"
#include "mfree.c"
#include "mmalloc.c"
#include "mrealloc.c"