Thanks for the patch. It is unfortunately too kludgy to be acceptable as is. I'd rather replace malloc.h by e.g. stdlib.h if this does the work on all platform, or find another way to solve this problem. Arno