From db6345849527d3c7239e109eb74be8d2d8fbe573 Mon Sep 17 00:00:00 2001 From: Galen Shipman Date: Thu, 29 Mar 2007 16:11:00 +0000 Subject: [PATCH] bring disable_sbrk back online, there was a change to properly support AIX some time ago (last summer) that included checking for M_TRIM_THRESHOLD and M_MMAP_MAX, unfortunately we didn't include which is where these are define, so disabling sbrk for the registration cache has been busted for some time. This commit was SVN r14169. --- ompi/mca/mpool/base/base.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ompi/mca/mpool/base/base.h b/ompi/mca/mpool/base/base.h index 8e96108547..e1645a034e 100644 --- a/ompi/mca/mpool/base/base.h +++ b/ompi/mca/mpool/base/base.h @@ -28,7 +28,9 @@ #include "opal/mca/mca.h" #include "ompi/mca/mpool/mpool.h" #include "opal/threads/mutex.h" - +#ifdef HAVE_MALLOC_H +#include +#endif #if defined(HAVE_MALLOPT) && defined(M_TRIM_THRESHOLD) && defined(M_MMAP_MAX) #define MPOOL_BASE_CAN_DISABLE_SBRK 1 #else