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