summaryrefslogtreecommitdiff
path: root/audio/mt-daapd/patches/patch-ad
blob: b21c03d102092db4fc4b0343220b0bb596388d04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ad,v 1.1 2007/02/05 22:23:06 tron Exp $

--- src/mDNSUNP.c.orig	2005-09-11 20:13:48.000000000 +0100
+++ src/mDNSUNP.c	2007-02-05 22:16:56.000000000 +0000
@@ -168,7 +168,7 @@
 		 * have the apple mDNS included, I guess it's a
 		 * small price to pay.
 		 */
-#ifdef FREEBSD
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
 		    ptr += sizeof(ifr->ifr_name) + len; /* for next one in buffer */
 		//		ptr += sizeof(*ifr);
 #else