$NetBSD: patch-aa,v 1.1 2013/03/02 19:33:29 wiz Exp $

--- third-party/miniupnp/connecthostport.c.orig	2012-07-06 01:26:19.000000000 +0000
+++ third-party/miniupnp/connecthostport.c
@@ -33,6 +33,7 @@
 #ifndef USE_GETHOSTBYNAME
 #include <sys/types.h>
 #include <sys/socket.h>
+#include <sys/select.h>
 #endif /* #ifndef USE_GETHOSTBYNAME */
 #endif /* #else _WIN32 */
 
