]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix compilation with gcc 4.6.1
authorEric Bollengier <eric@eb.homelinux.org>
Thu, 7 Jul 2011 09:28:16 +0000 (11:28 +0200)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:49:04 +0000 (14:49 +0200)
bacula/src/lib/mem_pool.c

index 117da13335ef10c870ea11ef07b8263e9eecea0e..566a346c811b223527a0ab9423658358a1b475bc 100644 (file)
@@ -47,8 +47,9 @@
  */
 
 #include "bacula.h"
+
 #ifdef HAVE_MALLOC_TRIM
-#include <malloc.h>
+extern "C" int malloc_trim (size_t pad);
 #endif
 
 struct s_pool_ctl {