[Speex-dev] patch for compilation under MACOSX

Segher Boessenkool segher at kernel.crashing.org
Mon Jul 17 09:58:17 PDT 2006


>> Here is a patch that avoid inclusion of malloc.h
>> under MACOSX. (I'm using osx version 10.4 - Tiger)
>
> Just including stdlib.h instead of malloc.h also works. Cleaner  
> code at
> the expense of a larger header.

<malloc.h> isn't standard C; <stdlib.h> is indeed the right thing
to use.


Segher



More information about the Speex-dev mailing list