X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c4b456eb4ff7aa5852e276391b24667431be5d84..f70b1d36400665b6a19c9ff915bfdad4da61a199:/include/simgrid_config.h.in diff --git a/include/simgrid_config.h.in b/include/simgrid_config.h.in index 18e01d0894..69df80b9b6 100644 --- a/include/simgrid_config.h.in +++ b/include/simgrid_config.h.in @@ -23,6 +23,9 @@ /* Use that config to declare missing elements */ #ifdef SIMGRID_NEED_GETLINE XBT_PUBLIC(long) getline(char **lineptr, size_t * n, FILE * stream); +#else +#define _GNU_SOURCE +#include #endif