diff options
author | Shehjar Tikoo <shehjart@gluster.com> | 2009-10-05 07:42:01 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-10-06 07:05:03 -0700 |
commit | 39243caeca3322801429afcef5094ea734438669 (patch) | |
tree | 02ba9e55a4f71d6ad057284f740c109ee9980f12 /libglusterfs | |
parent | d03e51668d5d0849d7acd7659a3e8028db85b089 (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
Diffstat (limited to 'libglusterfs')
-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 152c17bb412..cdff51d5348 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) |