blob: 223f1940d762ec09f7a0ffe7e30ecb8193c3cec5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$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 <stdio.h>
+#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);
|