INADDR_NONE' undeclared in Squid 1.0.17

From: Andreas Jung <[email protected]>
Date: Fri, 27 Sep 1996 07:34:35 +0200 (MET DST)

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 Thu Sep 26 1996 - 22:34:45 MDT

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