From d4bfde8b5f70afa6a51011611abc40d393e59385 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 30 Aug 2005 23:02:27 +0000 Subject: add M_PERTURB define from glibc and Frank Mehnert writes: the following patch fixes a compile problem where malloc.h was included into a C++ file --- include/malloc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/malloc.h b/include/malloc.h index 610c47dc3..6b8e1ad91 100644 --- a/include/malloc.h +++ b/include/malloc.h @@ -174,6 +174,7 @@ extern void malloc_stats(FILE *file); #define M_MMAP_THRESHOLD -3 #define M_MMAP_MAX -4 #define M_CHECK_ACTION -5 +#define M_PERTURB -6 /* General SVID/XPG interface to tunable parameters. */ extern int mallopt __MALLOC_P ((int __param, int __val)); @@ -182,7 +183,7 @@ extern int mallopt __MALLOC_P ((int __param, int __val)); #ifdef __cplusplus -}; /* end of extern "C" */ +} /* end of extern "C" */ #endif #endif /* malloc.h */ -- cgit v1.2.3