From 108245d608bf821c8b0b748195d75b4b83f2376d Mon Sep 17 00:00:00 2001 From: mquinson Date: Wed, 23 Dec 2009 17:08:12 +0000 Subject: [PATCH] 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 --- include/simgrid_config.h.in | 1 + 1 file changed, 1 insertion(+) 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 -- 2.20.1