6a719a89ce57283bcf41e06a8d35f31869713cc8
hiram
  Wed Feb 26 13:55:53 2014 -0800
patch to fix build on OSX which has no malloc.h refs #12656
diff --git src/hg/hgTracks/hgTracks.c src/hg/hgTracks/hgTracks.c
index e1020b5..95be2c6 100644
--- src/hg/hgTracks/hgTracks.c
+++ src/hg/hgTracks/hgTracks.c
@@ -1,23 +1,25 @@
 /* hgTracks - the original, and still the largest module for the UCSC Human Genome
  * Browser main cgi script.  Currently contains most of the track framework, though
  * there's quite a bit of other framework type code in simpleTracks.c.  The main
  * routine got moved to create a new entry point to the bulk of the code for the
  * hgRenderTracks web service.  See mainMain.c for the main used by the hgTracks CGI. */
 
 #include <pthread.h>
+#ifndef __APPLE__
 #include <malloc.h>
+#endif
 #include "common.h"
 #include "hCommon.h"
 #include "linefile.h"
 #include "portable.h"
 #include "memalloc.h"
 #include "localmem.h"
 #include "obscure.h"
 #include "dystring.h"
 #include "hash.h"
 #include "jksql.h"
 #include "gfxPoly.h"
 #include "memgfx.h"
 #include "hvGfx.h"
 #include "psGfx.h"
 #include "cheapcgi.h"