X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5916c12ba9de33f917b5b2f85dd953da50d8477a..7d2564bf6ec7a7135175eb4eeeba1e190139203c:/src/portable.h?ds=sidebyside diff --git a/src/portable.h b/src/portable.h index b166e2cd9f..823409cf09 100644 --- a/src/portable.h +++ b/src/portable.h @@ -11,6 +11,7 @@ #ifndef GRAS_PORTABLE_H #define GRAS_PORTABLE_H +#include "simgrid_config.h" #include "xbt/misc.h" /* * win32 or win64 (__WIN32 is defined for win32 and win64 applications, __TOS_WIN__ is defined by xlC). @@ -22,14 +23,6 @@ # include "gras_config.h" #endif -/* Load this asap to make sure that GNU_SOURCE is defined on need when stdio gets loaded by some random system header */ -#ifdef HAVE_GETLINE -# ifndef _GNU_SOUCE -# define _GNU_SOURCE -# endif -# include -#endif - #include #ifdef HAVE_ERRNO_H