From 94afc3ed4ce54bf6680572ba462e9c9cc599e8fd Mon Sep 17 00:00:00 2001 From: Shehjar Tikoo Date: Mon, 5 Oct 2009 07:55:58 +0000 Subject: mem-pool: Include stdlib for calloc() Doing so removes build warnings about calloc and free for files that use mem-pool but do not by themselves include stdlib.h, for eg., rbthash.c Signed-off-by: Anand V. Avati BUG: 145 (NFSv3 related additions to 2.1 task list) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=145 --- libglusterfs/src/mem-pool.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libglusterfs') diff --git a/libglusterfs/src/mem-pool.h b/libglusterfs/src/mem-pool.h index 1b03d495454..ce6644168c2 100644 --- a/libglusterfs/src/mem-pool.h +++ b/libglusterfs/src/mem-pool.h @@ -22,6 +22,7 @@ #include "list.h" #include "locking.h" +#include #define MALLOC(size) malloc(size) -- cgit