$NetBSD: patch-ae,v 1.1 2004/12/18 16:05:11 grant Exp $

--- getaddrinfo.c.orig	2003-07-30 02:36:14.000000000 +1000
+++ getaddrinfo.c
@@ -36,6 +36,7 @@
 #include <ctype.h>
 #include <errno.h>
 
+#include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>