[Gmsh] malloc.h problems on FreeBSD

Pedro F. Giffuni giffunip at yahoo.com
Mon May 12 16:46:00 CEST 2003


Hi 

I used the following (dirty) patch to start building on FreeBSD.

For what it's worth, including malloc.h should be unnecessary in ANSI C
compilers. This should work:

ifdef __STDC__
#include <stdlib.h>
else
#include <malloc.h>
endif

cheers,

   Pedro

__________________________________________________
Yahoo! Plus
For a better Internet experience
http://www.yahoo.co.uk/btoffer
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch-gmsh
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20030512/7b8f2eab/attachment.ksh>