From 2e16a75727fd3f5394c44c4d3c25e91256994a00 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Thu, 7 Jul 2011 11:28:16 +0200 Subject: [PATCH] Fix compilation with gcc 4.6.1 --- bacula/src/lib/mem_pool.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bacula/src/lib/mem_pool.c b/bacula/src/lib/mem_pool.c index 117da13335..566a346c81 100644 --- a/bacula/src/lib/mem_pool.c +++ b/bacula/src/lib/mem_pool.c @@ -47,8 +47,9 @@ */ #include "bacula.h" + #ifdef HAVE_MALLOC_TRIM -#include +extern "C" int malloc_trim (size_t pad); #endif struct s_pool_ctl { -- 2.39.5