$NetBSD: patch-aa,v 1.3 2013/04/21 00:58:47 rodent Exp $ Add NetBSD support. --- 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 ;