$NetBSD: patch-ad,v 1.1.1.1 2008/04/09 20:36:38 agc Exp $

--- tombupnp/upnp/src/genlib/net/uri/uri.c	2008-03-01 22:48:50.000000000 +0000
+++ tombupnp/upnp/src/genlib/net/uri/uri.c	2008-03-21 20:18:05.000000000 +0000
@@ -61,7 +61,7 @@
 #include "config.h"
 #include "uri.h"
 
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__NetBSD__)
     #ifdef HAVE_LWRES_NETDB_H
         #include <lwres/netdb.h>
     #endif
