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

Michael Kussmaul kussmaul.list at nix.ch
Fri Jun 11 14:05:32 BST 2010


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



More information about the dev mailing list