$NetBSD: patch-aa,v 1.2 2010/07/24 13:42:12 obache Exp $

--- avahi-core/iface-pfroute.c.orig	2010-06-26 00:14:35.000000000 +0000
+++ avahi-core/iface-pfroute.c
@@ -46,6 +46,13 @@
 #include "iface-pfroute.h"
 #include "util.h"
 
+#ifdef __NetBSD__
+#define lifreq if_laddrreq
+#define lifr_addr iflr_addr
+#define lifr_flags iflr_flags
+#define SIOCGLIFFLAGS SIOCGIFFLAGS
+#endif
+
 static int bitcount (unsigned int n)
 {
   int count=0 ;
