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

Simon Josefsson jas at extundo.com
Mon Jun 13 14:55:18 CEST 2005


Simon Josefsson <jas at extundo.com> writes:

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

I rolled an OpenCDK 0.5.6, available from:

ftp://ftp.gnutls.org/pub/gnutls/
http://josefsson.org/gnutls/releases/opencdk/

Let me know if it works or not.

Cheers,
Simon



More information about the Gnutls-dev mailing list