$NetBSD: patch-aa,v 1.2 2014/07/12 16:48:27 schwarz Exp $ Defines INADDR_NONE, which is needed on Solaris. --- src/eXutils.c.orig 2014-01-06 19:30:21.000000000 +0100 +++ src/eXutils.c 2014-07-12 18:15:15.000000000 +0200 @@ -509,6 +509,10 @@ #include +#ifndef INADDR_NONE +#define INADDR_NONE ((unsigned long) -1) /* needed on Solaris */ +#endif + static int _eXosip_default_gateway_ipv4 (struct eXosip_t *excontext, char *address, int size); static int _eXosip_default_gateway_ipv6 (struct eXosip_t *excontext, char *address, int size);