$NetBSD: patch-ac,v 1.4 2007/12/14 12:46:22 bjs Exp $

--- src/getaddrinfo.c.orig	2007-08-28 12:36:33.000000000 -0400
+++ src/getaddrinfo.c
@@ -99,7 +99,13 @@
 #endif
 
 #include <sys/types.h>
+#if defined(HAVE_NBCOMPAT_H)
+#include <nbcompat/cdefs.h>
+#include <nbcompat/config.h>
+#include <nbcompat/stdio.h>
+#else
 #include <stdio.h>
+#endif
 
 #if defined(STDC_HEADERS) || defined(HAVE_STRING_H)
 #include <string.h>
