$NetBSD$

--- third-party/miniupnp/connecthostport.c.orig	2010-05-01 21:35:46.000000000 +0000
+++ third-party/miniupnp/connecthostport.c
@@ -29,6 +29,7 @@
 #ifndef USE_GETHOSTBYNAME
 #include <sys/types.h>
 #include <sys/socket.h>
+#include <sys/select.h>
 #endif /* #ifndef USE_GETHOSTBYNAME */
 #endif /* #else WIN32 */
 
