afsio: remove unnecessary reference to malloc.h
authorChaz Chandler <clc31@inbox.com>
Tue, 26 Apr 2011 20:49:39 +0000 (16:49 -0400)
committerDerrick Brashear <shadow@dementia.org>
Wed, 27 Apr 2011 02:14:26 +0000 (19:14 -0700)
Fixes breakage on freebsd for missing malloc.h, reported by GAWollman,
and, since roken.h already includes stdlib.h to pull in malloc, is no
longer necessary

Change-Id: Ie7785198124fe0dee394d7c15f032f0dadb6db8c
Change-Id: I1d5947155ba33de61d8fd23197e11c51e4791935
Reviewed-on: http://gerrit.openafs.org/4578
Reviewed-by: Chaz Chandler <clc31@inbox.com>
Tested-by: Chaz Chandler <clc31@inbox.com>
Reviewed-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
Reviewed-by: Derrick Brashear <shadow@dementia.org>

src/venus/afsio.c

index f8387c9..3403cea 100644 (file)
 #ifdef HAVE_DIRECT_H
 #include <direct.h>
 #endif
-#ifdef AFS_DARWIN_ENV
-#include <sys/malloc.h>
-#else
-#include <malloc.h>
-#endif
 #include <hcrypto/md5.h>
 #ifdef AFS_PTHREAD_ENV
 #include <assert.h>