[syslog-ng]Problems with "nscache.c" on Solaris 7

=?iso-8859-1?Q?Ga=EBl?= Roualland gael.roualland@oleane.net
Wed, 06 Jun 2001 10:41:59 +0200


Stefano Pasquale wrote :
> gcc -DHAVE_CONFIG_H -I. -I/tmp/syslog-ng-1.5.6/src -I.     -O2 -Wall
> -I/usr/local/include/libol -D_GNU_SOURCE -c nscache.c
> nscache.c: In function `nscache_new':
> nscache.c:112: `INADDR_NONE' undeclared (first use in this function)
> nscache.c:112: (Each undeclared identifier is reported only once
> nscache.c:112: for each function it appears in.)

Simply addding
  #define INADDR_NONE (unsigned int) 0xffffffff
on top of nscache.h or nscache.c should do it. I believed this had
already been fixed ?

Gaël.

-- 
Gaël Roualland -+- gael.roualland@oleane.net