summaryrefslogtreecommitdiff
path: root/net/mDNSResponder/patches/patch-ac
blob: f9269d33238a8e7259a64463e9c610ffc4f63b5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ac,v 1.4 2006/10/23 11:15:09 markd Exp $

--- mDNSPosix/mDNSUNP.c.orig	2006-02-21 10:40:36.000000000 +1300
+++ mDNSPosix/mDNSUNP.c
@@ -153,7 +153,10 @@ First checkin
     #include <net/if_dl.h>
 #endif
 
-#if defined(AF_INET6) && HAVE_IPV6 && !HAVE_LINUX
+#if defined(AF_INET6) && HAVE_IPV6 && !HAVE_LINUX && !defined(sun)
+#if defined(__FreeBSD__) || defined(__DragonFly__)
+#include <net/if_var.h>
+#endif
 #include <netinet6/in6_var.h>
 #endif