Hi Michael, I've seen this as well and reported here: http://trac.openstreetmap.org/ticket/3027.
It's interesting that you can remove the reference altogether, I was able to get things to compile by adding malloc/malloc.h. Not sure about the right solution. I also updated the homebrew build script [1] with that patch, so I'll need to update that when this gets fixed in trunk. Dane [1] http://github.com/mxcl/homebrew/blob/master/Library/Formula/osm2pgsql.rb On Jun 11, 2010, at 6:05 AM, Michael Kussmaul wrote: > Hi, > > Not sure how to report this - when compiling the current SVN-version of > osm2pgsql for macosx, I receive a compiler error (malloc.h: No such file or > directory). > > It seems including malloc.h is anyway unnecessary, as stdlib.h already takes > care to get the correct malloc implementation - so after removing the line > > #include <malloc.h> > > in the file middle-pgsql.c, everything went fine. > > thanks > Michael > _______________________________________________ > dev mailing list > [email protected] > http://lists.openstreetmap.org/listinfo/dev _______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev

