]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
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@dementix.org>
Sun, 11 Sep 2011 02:47:06 +0000 (19:47 -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

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>
(cherry picked from commit 675bd1007de6594321c03d6f92261f909120643f)

Change-Id: I9706a4d05044740fc6bb700fc5f1ef92923ce4bf
Reviewed-on: http://gerrit.openafs.org/5389
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: Derrick Brashear <shadow@dementix.org>
src/venus/afsio.c

index f7906391f1f434471b73d9ebec2e126a5b1da72b..31c1ec41a21b4f940bc361aaef09d18baaabfe51 100644 (file)
 #ifdef HAVE_DIRECT_H
 #include <direct.h>
 #endif
-#ifdef AFS_DARWIN_ENV
-#include <sys/malloc.h>
-#else
-#include <malloc.h>
-#endif
 #include <afs/errors.h>
 #include <afs/sys_prototypes.h>
 #include <des_prototypes.h>