From: Eric Bollengier Date: Thu, 7 Jul 2011 09:28:16 +0000 (+0200) Subject: Fix compilation with gcc 4.6.1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=026d0abbbcb7faa2847b2b2003a6f29d2aa04548;p=bacula%2Fbacula Fix compilation with gcc 4.6.1 --- 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 {