summaryrefslogtreecommitdiff
path: root/net/iperf/patches/patch-aa
blob: e2b160256a2422ff8f7a9ff0c048b4859bedd5c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-aa,v 1.3 2005/10/07 20:29:52 markd Exp $

--- configure.orig	2005-05-03 08:22:07.000000000 +1200
+++ configure
@@ -11915,6 +11915,9 @@ cat >>conftest.$ac_ext <<_ACEOF
 int
 main ()
 {
+#if !defined(IPV6_ADD_MEMBERSHIP) && defined(IPV6_JOIN_GROUP)
+#define IPV6_ADD_MEMBERSHIP IPV6_JOIN_GROUP
+#endif
 #ifndef IPV6_ADD_MEMBERSHIP
   char *p = (char *) IPV6_ADD_MEMBERSHIP;
 #endif