From: mquinson Date: Wed, 23 Dec 2009 17:08:12 +0000 (+0000) Subject: Try to load the stdio before defining getline (on mac) so that FILE gets defined X-Git-Tag: SVN~752 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/108245d608bf821c8b0b748195d75b4b83f2376d?ds=sidebyside Try to load the stdio before defining getline (on mac) so that FILE gets defined git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6974 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/include/simgrid_config.h.in b/include/simgrid_config.h.in index b4267e11e4..ca6c5502e8 100644 --- a/include/simgrid_config.h.in +++ b/include/simgrid_config.h.in @@ -23,6 +23,7 @@ /* Use that config to declare missing elements */ #ifdef SIMGRID_NEED_GETLINE #include /* size_t */ +#include /* FILE* */ XBT_PUBLIC(long) getline(char **lineptr, size_t * n, FILE * stream); #else #define _GNU_SOURCE