$NetBSD: patch-aa,v 1.3 2013/08/12 09:36:41 obache Exp $

--- configure.orig	2011-05-02 16:35:08.000000000 +0000
+++ configure
@@ -16129,6 +16129,8 @@ if test "x$ac_cv_header_ifaddrs_h" = "xy
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
+#include <sys/types.h>
+#include <sys/socket.h>
           #include <ifaddrs.h>
           #include <net/if.h>
 
