$NetBSD: patch-ac,v 1.13 2005/05/19 21:06:46 jmmv Exp $

--- configure.orig	2005-04-08 19:27:21.000000000 +0000
+++ configure
@@ -23589,6 +23589,7 @@ cat >>conftest.$ac_ext <<_ACEOF
 		#include <sys/socket.h>
 		#include <netinet/in.h>
 		#include <netdb.h>
+		#include <stdio.h> /* Needed to get NULL's definition */
 
 		#define BUFSIZE (sizeof(struct hostent)+10)
 
@@ -24717,6 +24718,7 @@ cat >>conftest.$ac_ext <<_ACEOF
 		#include <sys/socket.h>
 		#include <netinet/in.h>
 		#include <netdb.h>
+		#include <stdio.h> /* Needed to get NULL's definition */
 
 
 int
