<malloc.h> is a non-standard header and highly non-portable; please use <stdlib.h> instead, or you'll break certain versions of FreeBSD. Gerald #include <stdlib.h> instead of the non-standard <malloc.h>. Index: wave.c =================================================================== RCS file: /home/wine/wine/dlls/winmm/tests/wave.c,v retrieving revision 1.6 diff -u -3 -p -r1.6 wave.c --- wave.c 2 Jan 2003 17:52:05 -0000 1.6 +++ wave.c 3 Jan 2003 17:17:40 -0000 @@ -18,7 +18,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include <malloc.h> +#include <stdlib.h> #include <math.h> #include "wine/test.h"