summaryrefslogtreecommitdiff
path: root/net/ORBit2/patches/patch-ac
blob: e1e6744690d55064bed6cbfa8e86c4c280e3a35c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ac,v 1.3 2007/08/18 09:59:49 plunky Exp $

--- linc2/src/linc-compat.h.orig	2007-07-29 18:12:41.000000000 +0100
+++ linc2/src/linc-compat.h
@@ -108,6 +108,10 @@
 #  define INADDR_NONE (-1)
 #endif
 
+#if defined(AF_INET6) && !defined (INET6)
+#  undef AF_INET6
+#endif
+
 #if !defined (UNIX_PATH_MAX)
 /* UNP: 14.2 - Posix.1g at least 100 bytes */
 #  define LINK_UNIX_PATH_MAX 100