Otherwsie we don't compile on FreeBSD. Patch to follow
Created attachment 103943 [details, diff] Don't use malloc.h
Upstream bug http://bugzilla.gnome.org/show_bug.cgi?id=387179
Fixed; I added the patch under x86-fbsd, so as not to disturb other arches keywords.