FreeBSD and compiling with dlmalloc

From: Thomas Hucke <hucke@dont-contact.us>
Date: Wed, 5 May 1999 22:09:13 -0600

I am using FreeBSD 2.2.8 and I tried to compile Squid 2.2-STABLE with the
"--enable-dlmalloc" option. I received the following error message:

gcc -g -O2 -Wall -I../include -I../include -c dlmalloc.c
dlmalloc.c:796: conflicting types for `sbrk'
/usr/include/unistd.h:156: previous declaration of `sbrk'
*** Error code 1

Can sombody help me ?

With best regards - Thomas Hucke

----------------------------------------------------
Ing. Thomas Hucke
Programa de Telecomunicaciones PROTEL
Universidad Autonoma de Baja California Sur
La Paz 23080 BCS. / Mexico
e-mail: hucke@calafia.uabcs.mx Tel/Fax: (112)80741
Received on Wed May 05 1999 - 21:56:03 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:46:14 MST