*/
#include "bacula.h"
+
#ifdef HAVE_MALLOC_TRIM
-#include <malloc.h>
+extern "C" int malloc_trim (size_t pad);
#endif
struct s_pool_ctl {
#ifdef DEBUG
static const char *pool_name(int pool)
{
- static const char *name[] = {"NoPool", "NAME ", "FNAME ", "MSG ", "EMSG "};
+ static const char *name[] = {"NoPool", "NAME ", "FNAME ", "MSG ", "EMSG ", "BSOCK "};
static char buf[30];
if (pool >= 0 && pool <= PM_MAX) {