From: Martin Quinson Date: Wed, 9 Mar 2016 12:30:29 +0000 (+0100) Subject: better load src/internal_config.h before testing on HAVE_UNISTD_H X-Git-Tag: v3_13~453^2~16 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/1b56cfab3decd098e929f203b0df3f79cb00f15b?ds=sidebyside better load src/internal_config.h before testing on HAVE_UNISTD_H --- diff --git a/src/xbt/mmalloc/mm.c b/src/xbt/mmalloc/mm.c index d395c8d461..be48e421d3 100644 --- a/src/xbt/mmalloc/mm.c +++ b/src/xbt/mmalloc/mm.c @@ -12,9 +12,12 @@ /* Copyright 1996, 2000 Free Software Foundation */ +#define _GNU_SOURCE +#include "src/internal_config.h" #if HAVE_UNISTD_H #include /* Prototypes for lseek, sbrk (maybe) */ #endif + #include "mfree.c" #include "mmalloc.c" #include "mrealloc.c"