Subject: FreeBSD: don't use malloc.h?
To: Packages Technical List NetBSD Discussion <firstname.lastname@example.org>
From: Georg Schwarz <email@example.com>
Date: 12/17/2006 20:15:03
I noticed the following when compiling wip/speex-devel on FreeBSD 5.5:
In file included from kiss_fft.h:8,
/usr/include/malloc.h:3:2: #error "<malloc.h> has been replaced by
Indeed, /usr/include/malloc.h looks like this:
/* $FreeBSD: src/include/malloc.h,v 1.5 2001/11/07 23:14:31 obrien
Exp $ */
#error "<malloc.h> has been replaced by <stdlib.h>"
Does anyone happen to know for which versions of FreeBSD malloc.h has
been replaced by stdlib.h? Can I assume this to be the case on every
OS if the __STDC__ macro is set?
Georg Schwarz http://home.pages.de/~schwarz/
firstname.lastname@example.org +49 178 8545053