From b793c5c33fafaeb08bd5520a5d166eb8c1a4360e Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Wed, 9 Mar 2016 02:26:32 +0100 Subject: [PATCH] HAVE_STDDEF_H is never defined in our code --- include/xbt/mmalloc.h | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/include/xbt/mmalloc.h b/include/xbt/mmalloc.h index fb62d48efc..85af7311e4 100644 --- a/include/xbt/mmalloc.h +++ b/include/xbt/mmalloc.h @@ -7,18 +7,14 @@ /* Copyright (C) 1991, 1992 Free Software Foundation, Inc. This file was then part of the GNU C Library. */ -#ifndef MMALLOC_H -#define MMALLOC_H 1 +#ifndef SIMGRID_MMALLOC_H +#define SIMGRID_MMALLOC_H 1 #include "src/internal_config.h" #ifdef HAVE_MMALLOC -#ifdef HAVE_STDDEF_H -# include -#else -# include /* for size_t */ -# include /* for NULL */ -#endif +# include /* for size_t */ +# include /* for NULL */ #include "xbt/dynar.h" #include "xbt/dict.h" @@ -79,4 +75,4 @@ void* malloc_no_memset(size_t n); SG_END_DECL() #endif -#endif /* MMALLOC_H */ +#endif /* SIMGRID_MMALLOC_H */ -- 2.20.1