[gnutls-dev] Re: [opencdk] Compatibility with FreeBSD (malloc.h not usable)

Simon Josefsson jas at extundo.com
Fri Jun 10 18:02:12 CEST 2005


Diego 'Flameeyes' Pettenò <flameeyes at gentoo.org> writes:

> Hi,
> currently opencdk-0.5.5 includes <malloc.h> without checks, but on FreeBSD (at 
> least on Gentoo/FreeBSD) that file just trown an #error saying to avoid using 
> it.
> The attached patch applied over the sources checks in ./configure for malloc.h 
> file and then uses it only if needed.

I think we should use 'stdlib.h' instead, I see no reason to use
'malloc.h', it is non-standard.  I'll sync with opencdk cvs.

Thanks,
Simon




More information about the Gnutls-devel mailing list