I found it defined in the src\squid.h.
you can add the following line in src\cachemrg.c:
#include "squid.h"
then the problem will be solved.
>
>
> Compilation of Squid 1.0.17 under Solaris 2.5 with gcc breaks
> with the following error message:
>
> cachemgr.c: In function `client_comm_connect':
> cachemgr.c:851: `INADDR_NONE' undeclared (first use this function)
> cachemgr.c:851: (Each undeclared identifier is reported only once
> cachemgr.c:851: for each function it appears in.)
>
> Former version of Squid did not show this error messages. I think
> the value of INADDR_NONE should be :
>
> netinet/in.h:#define INADDR_NONE 0xffffffff
> (Output of in.h under SunOS)
>
> Andreas
>
> ------------------------------------------------------------------------
> /// Andreas Jung, Bruchwiesenanlage 2, D-66125 Saarbruecken
> /// Phone: +49-(0)681-302-4583 (work), +49-(0)6897-972207 (home)
> \\\/// E-Mail: ajung@cs.uni-sb.de (PGP key on request), IRC: YET
> \XX/ WWW: http://hssun5.cs.uni-sb.de/~ajung
> ------------------------------------------------------------------------
>
>
>
>
Received on Sun Sep 29 1996 - 03:37:45 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:33:06 MST