diff options
author | Shehjar Tikoo <shehjart@gluster.com> | 2009-10-05 07:55:58 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-10-06 07:05:11 -0700 |
commit | 94afc3ed4ce54bf6680572ba462e9c9cc599e8fd (patch) | |
tree | 1d3ad36c808b7d55534e8796a57ae342db60cb95 | |
parent | 86338b253e095f54997d43349959cbabe1612691 (diff) |
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 <avati@dev.gluster.com>
BUG: 145 (NFSv3 related additions to 2.1 task list)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=145
-rw-r--r-- | libglusterfs/src/mem-pool.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 <stdlib.h> #define MALLOC(size) malloc(size) |