X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a76bc40240b725442f23738d4d5603cb10d4baf6..fad3d12f90204cda14e66354a3b6410409fd7616:/src/xbt/mmalloc/mm.c diff --git a/src/xbt/mmalloc/mm.c b/src/xbt/mmalloc/mm.c index b8ef55cb5a..274f88a04a 100644 --- a/src/xbt/mmalloc/mm.c +++ b/src/xbt/mmalloc/mm.c @@ -4,21 +4,24 @@ behavior. It should also still be possible to build the library as a standard library with multiple objects. */ -/* Copyright 1996, 2000 Free Software Foundation */ - -/* Copyright (c) 2010. The SimGrid Team. +/* Copyright (c) 2010-2018. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ -#ifdef HAVE_UNISTD_H +/* 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 "mcalloc.c" + +#include "swag.c" #include "mfree.c" #include "mmalloc.c" #include "mrealloc.c" #include "mmorecore.c" -#include "mm_module.c" #include "mm_legacy.c" +#include "mm_module.c"