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
Somehow integrate ruby to the library. That's ... crude, but I don't feel like changi...
[simgrid.git]
/
include
/
simgrid_config.h.in
diff --git
a/include/simgrid_config.h.in
b/include/simgrid_config.h.in
index
18e01d0
..
ca6c550
100644
(file)
--- a/
include/simgrid_config.h.in
+++ b/
include/simgrid_config.h.in
@@
-22,7
+22,12
@@
/* Use that config to declare missing elements */
#ifdef SIMGRID_NEED_GETLINE
/* Use that config to declare missing elements */
#ifdef SIMGRID_NEED_GETLINE
+#include <stdlib.h> /* size_t */
+#include <stdio.h> /* FILE* */
XBT_PUBLIC(long) getline(char **lineptr, size_t * n, FILE * stream);
XBT_PUBLIC(long) getline(char **lineptr, size_t * n, FILE * stream);
+#else
+#define _GNU_SOURCE
+#include <stdio.h>
#endif
#endif