$NetBSD: patch-al,v 1.1 2006/10/06 19:15:09 schwarz Exp $

--- libmc/mc_obj.c.orig	2006-10-04 21:57:03.000000000 +0200
+++ libmc/mc_obj.c	2006-10-04 21:56:48.000000000 +0200
@@ -5,7 +5,9 @@
 #include <fcntl.h>
 #include <sys/uio.h>
 #include <unistd.h>
-#include <malloc.h>
+#ifndef __APPLE__
+# include <malloc.h>
+#endif
 #include <assert.h>
 
 #include <Xm/XmAll.h>
