$NetBSD: patch-aa,v 1.1 2010/01/21 18:20:43 drochner Exp $

--- configure.orig	2009-10-19 12:06:20.000000000 +0000
+++ configure
@@ -19017,6 +19017,8 @@ cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
+#include <sys/types.h>
+#include <sys/socket.h>
       #include <ifaddrs.h>
 
 int
