X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ed2ddc654df95d52f686a8056d2c69fdaab20f30..84402e8e2ee2a2d0bef25fdceb0a263ed8b471f6:/src/xbt/mmalloc/mm.c?ds=sidebyside diff --git a/src/xbt/mmalloc/mm.c b/src/xbt/mmalloc/mm.c index 33de568c1f..3f31adf5b1 100644 --- a/src/xbt/mmalloc/mm.c +++ b/src/xbt/mmalloc/mm.c @@ -4,7 +4,7 @@ behavior. It should also still be possible to build the library as a standard library with multiple objects. */ -/* Copyright (c) 2010, 2012-2014. The SimGrid Team. +/* Copyright (c) 2010-2020. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -12,13 +12,16 @@ /* Copyright 1996, 2000 Free Software Foundation */ -#ifdef HAVE_UNISTD_H +#define _GNU_SOURCE +#include "src/internal_config.h" +#if HAVE_UNISTD_H #include /* Prototypes for lseek, sbrk (maybe) */ #endif + +#include "swag.c" #include "mfree.c" #include "mmalloc.c" #include "mrealloc.c" #include "mmorecore.c" #include "mm_legacy.c" #include "mm_module.c" -#include "mm_diff.c"