$NetBSD: patch-aa,v 1.1.1.1 2002/09/22 13:01:25 cjep Exp $ --- configure.in.orig Mon Jun 24 12:47:45 2002 +++ configure.in @@ -99,7 +99,13 @@ fi AC_DEFINE(_ISOC9X_SOURCE,1,[ISO compliant code]) AC_DEFINE(_POSIX_C_SOURCE,199506L,[POSIX compliant code]) + case $host_vendor-$host_os in + *netbsd*) + AC_DEFINE(_XOPEN_SOURCE,520,[NetBSD needs this for getaddrinfo]) + ;; + *) AC_DEFINE(_XOPEN_SOURCE,500,[Single Unix conformance]) + esac fi dnl #########################################################################