[OSM-dev] compile error on osm2pgsql for Macosx + Patch

Sven Geggus lists at fuchsschwanzdomain.de
Fri Jun 11 23:48:24 BST 2010


Michael Kussmaul <kussmaul.list at nix.ch> wrote:

> 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.

Right! According to the Linux manapage stdlib.h ist the only one needed for
malloc and frieds.

I just removed it in svn.

Regards

Sven

-- 
Trotz der zunehmenden Verbreitung von Linux erfreut sich der Bär,
und - dank Knut - insbesondere der Eisbär, deutlich größerer
Beliebtheit als der Pinguin. (Gefunden bei http://telepolis.de/)
/me is giggls at ircnet, http://sven.gegg.us/ on the Web




More information about the dev mailing list